export declare const AuditLogConfigLogType: { /** * Default case. Should never be this. */ readonly LogTypeUnspecified: "LOG_TYPE_UNSPECIFIED"; /** * Admin reads. Example: CloudIAM getIamPolicy */ readonly AdminRead: "ADMIN_READ"; /** * Data writes. Example: CloudSQL Users create */ readonly DataWrite: "DATA_WRITE"; /** * Data reads. Example: CloudSQL Users list */ readonly DataRead: "DATA_READ"; }; /** * The log type that this config enables. */ export type AuditLogConfigLogType = (typeof AuditLogConfigLogType)[keyof typeof AuditLogConfigLogType]; export declare const BuildConfigDockerRegistry: { /** * Unspecified. */ readonly DockerRegistryUnspecified: "DOCKER_REGISTRY_UNSPECIFIED"; /** * Docker images will be stored in multi-regional Container Registry repositories named `gcf`. */ readonly ContainerRegistry: "CONTAINER_REGISTRY"; /** * Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named `gcf-artifacts` in every region in which a function is deployed. But the repository to use can also be specified by the user using the `docker_repository` field. */ readonly ArtifactRegistry: "ARTIFACT_REGISTRY"; }; /** * Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. */ export type BuildConfigDockerRegistry = (typeof BuildConfigDockerRegistry)[keyof typeof BuildConfigDockerRegistry]; export declare const EventTriggerRetryPolicy: { /** * Not specified. */ readonly RetryPolicyUnspecified: "RETRY_POLICY_UNSPECIFIED"; /** * Do not retry. */ readonly RetryPolicyDoNotRetry: "RETRY_POLICY_DO_NOT_RETRY"; /** * Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds). */ readonly RetryPolicyRetry: "RETRY_POLICY_RETRY"; }; /** * Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). */ export type EventTriggerRetryPolicy = (typeof EventTriggerRetryPolicy)[keyof typeof EventTriggerRetryPolicy]; export declare const FunctionEnvironment: { /** * Unspecified */ readonly EnvironmentUnspecified: "ENVIRONMENT_UNSPECIFIED"; /** * Gen 1 */ readonly Gen1: "GEN_1"; /** * Gen 2 */ readonly Gen2: "GEN_2"; }; /** * Describe whether the function is 1st Gen or 2nd Gen. */ export type FunctionEnvironment = (typeof FunctionEnvironment)[keyof typeof FunctionEnvironment]; export declare const ServiceConfigIngressSettings: { /** * Unspecified. */ readonly IngressSettingsUnspecified: "INGRESS_SETTINGS_UNSPECIFIED"; /** * Allow HTTP traffic from public and private sources. */ readonly AllowAll: "ALLOW_ALL"; /** * Allow HTTP traffic from only private VPC sources. */ readonly AllowInternalOnly: "ALLOW_INTERNAL_ONLY"; /** * Allow HTTP traffic from private VPC sources and through GCLB. */ readonly AllowInternalAndGclb: "ALLOW_INTERNAL_AND_GCLB"; }; /** * The ingress settings for the function, controlling what traffic can reach it. */ export type ServiceConfigIngressSettings = (typeof ServiceConfigIngressSettings)[keyof typeof ServiceConfigIngressSettings]; export declare const ServiceConfigSecurityLevel: { /** * Unspecified. */ readonly SecurityLevelUnspecified: "SECURITY_LEVEL_UNSPECIFIED"; /** * Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect. */ readonly SecureAlways: "SECURE_ALWAYS"; /** * Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly. */ readonly SecureOptional: "SECURE_OPTIONAL"; }; /** * Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. */ export type ServiceConfigSecurityLevel = (typeof ServiceConfigSecurityLevel)[keyof typeof ServiceConfigSecurityLevel]; export declare const ServiceConfigVpcConnectorEgressSettings: { /** * Unspecified. */ readonly VpcConnectorEgressSettingsUnspecified: "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"; /** * Use the VPC Access Connector only for private IP space from RFC1918. */ readonly PrivateRangesOnly: "PRIVATE_RANGES_ONLY"; /** * Force the use of VPC Access Connector for all egress traffic from the function. */ readonly AllTraffic: "ALL_TRAFFIC"; }; /** * The egress settings for the connector, controlling what traffic is diverted through it. */ export type ServiceConfigVpcConnectorEgressSettings = (typeof ServiceConfigVpcConnectorEgressSettings)[keyof typeof ServiceConfigVpcConnectorEgressSettings];