1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudfunctions
  5. cloudfunctions/v1
  6. Function

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudfunctions/v1.Function

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return ALREADY_EXISTS error.

    Create Function Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Function(name: string, args?: FunctionArgs, opts?: CustomResourceOptions);
    @overload
    def Function(resource_name: str,
                 args: Optional[FunctionArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Function(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 available_memory_mb: Optional[int] = None,
                 build_environment_variables: Optional[Mapping[str, str]] = None,
                 build_worker_pool: Optional[str] = None,
                 description: Optional[str] = None,
                 docker_registry: Optional[FunctionDockerRegistry] = None,
                 docker_repository: Optional[str] = None,
                 entry_point: Optional[str] = None,
                 environment_variables: Optional[Mapping[str, str]] = None,
                 event_trigger: Optional[EventTriggerArgs] = None,
                 https_trigger: Optional[HttpsTriggerArgs] = None,
                 ingress_settings: Optional[FunctionIngressSettings] = None,
                 kms_key_name: Optional[str] = None,
                 labels: Optional[Mapping[str, str]] = None,
                 location: Optional[str] = None,
                 max_instances: Optional[int] = None,
                 min_instances: Optional[int] = None,
                 name: Optional[str] = None,
                 network: Optional[str] = None,
                 project: Optional[str] = None,
                 runtime: Optional[str] = None,
                 secret_environment_variables: Optional[Sequence[SecretEnvVarArgs]] = None,
                 secret_volumes: Optional[Sequence[SecretVolumeArgs]] = None,
                 service_account_email: Optional[str] = None,
                 source_archive_url: Optional[str] = None,
                 source_repository: Optional[SourceRepositoryArgs] = None,
                 source_token: Optional[str] = None,
                 source_upload_url: Optional[str] = None,
                 timeout: Optional[str] = None,
                 vpc_connector: Optional[str] = None,
                 vpc_connector_egress_settings: Optional[FunctionVpcConnectorEgressSettings] = None)
    func NewFunction(ctx *Context, name string, args *FunctionArgs, opts ...ResourceOption) (*Function, error)
    public Function(string name, FunctionArgs? args = null, CustomResourceOptions? opts = null)
    public Function(String name, FunctionArgs args)
    public Function(String name, FunctionArgs args, CustomResourceOptions options)
    
    type: google-native:cloudfunctions/v1:Function
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var functionResource = new GoogleNative.CloudFunctions.V1.Function("functionResource", new()
    {
        AvailableMemoryMb = 0,
        BuildEnvironmentVariables = 
        {
            { "string", "string" },
        },
        BuildWorkerPool = "string",
        Description = "string",
        DockerRegistry = GoogleNative.CloudFunctions.V1.FunctionDockerRegistry.DockerRegistryUnspecified,
        DockerRepository = "string",
        EntryPoint = "string",
        EnvironmentVariables = 
        {
            { "string", "string" },
        },
        EventTrigger = new GoogleNative.CloudFunctions.V1.Inputs.EventTriggerArgs
        {
            EventType = "string",
            Resource = "string",
            FailurePolicy = new GoogleNative.CloudFunctions.V1.Inputs.FailurePolicyArgs
            {
                Retry = null,
            },
            Service = "string",
        },
        HttpsTrigger = new GoogleNative.CloudFunctions.V1.Inputs.HttpsTriggerArgs
        {
            SecurityLevel = GoogleNative.CloudFunctions.V1.HttpsTriggerSecurityLevel.SecurityLevelUnspecified,
        },
        IngressSettings = GoogleNative.CloudFunctions.V1.FunctionIngressSettings.IngressSettingsUnspecified,
        KmsKeyName = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        MaxInstances = 0,
        MinInstances = 0,
        Name = "string",
        Project = "string",
        Runtime = "string",
        SecretEnvironmentVariables = new[]
        {
            new GoogleNative.CloudFunctions.V1.Inputs.SecretEnvVarArgs
            {
                Key = "string",
                Project = "string",
                Secret = "string",
                Version = "string",
            },
        },
        SecretVolumes = new[]
        {
            new GoogleNative.CloudFunctions.V1.Inputs.SecretVolumeArgs
            {
                MountPath = "string",
                Project = "string",
                Secret = "string",
                Versions = new[]
                {
                    new GoogleNative.CloudFunctions.V1.Inputs.SecretVersionArgs
                    {
                        Path = "string",
                        Version = "string",
                    },
                },
            },
        },
        ServiceAccountEmail = "string",
        SourceArchiveUrl = "string",
        SourceRepository = new GoogleNative.CloudFunctions.V1.Inputs.SourceRepositoryArgs
        {
            Url = "string",
        },
        SourceToken = "string",
        SourceUploadUrl = "string",
        Timeout = "string",
        VpcConnector = "string",
        VpcConnectorEgressSettings = GoogleNative.CloudFunctions.V1.FunctionVpcConnectorEgressSettings.VpcConnectorEgressSettingsUnspecified,
    });
    
    example, err := cloudfunctions.NewFunction(ctx, "functionResource", &cloudfunctions.FunctionArgs{
    	AvailableMemoryMb: pulumi.Int(0),
    	BuildEnvironmentVariables: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	BuildWorkerPool:  pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	DockerRegistry:   cloudfunctions.FunctionDockerRegistryDockerRegistryUnspecified,
    	DockerRepository: pulumi.String("string"),
    	EntryPoint:       pulumi.String("string"),
    	EnvironmentVariables: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	EventTrigger: &cloudfunctions.EventTriggerArgs{
    		EventType: pulumi.String("string"),
    		Resource:  pulumi.String("string"),
    		FailurePolicy: &cloudfunctions.FailurePolicyArgs{
    			Retry: nil,
    		},
    		Service: pulumi.String("string"),
    	},
    	HttpsTrigger: &cloudfunctions.HttpsTriggerArgs{
    		SecurityLevel: cloudfunctions.HttpsTriggerSecurityLevelSecurityLevelUnspecified,
    	},
    	IngressSettings: cloudfunctions.FunctionIngressSettingsIngressSettingsUnspecified,
    	KmsKeyName:      pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location:     pulumi.String("string"),
    	MaxInstances: pulumi.Int(0),
    	MinInstances: pulumi.Int(0),
    	Name:         pulumi.String("string"),
    	Project:      pulumi.String("string"),
    	Runtime:      pulumi.String("string"),
    	SecretEnvironmentVariables: cloudfunctions.SecretEnvVarArray{
    		&cloudfunctions.SecretEnvVarArgs{
    			Key:     pulumi.String("string"),
    			Project: pulumi.String("string"),
    			Secret:  pulumi.String("string"),
    			Version: pulumi.String("string"),
    		},
    	},
    	SecretVolumes: cloudfunctions.SecretVolumeArray{
    		&cloudfunctions.SecretVolumeArgs{
    			MountPath: pulumi.String("string"),
    			Project:   pulumi.String("string"),
    			Secret:    pulumi.String("string"),
    			Versions: cloudfunctions.SecretVersionArray{
    				&cloudfunctions.SecretVersionArgs{
    					Path:    pulumi.String("string"),
    					Version: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ServiceAccountEmail: pulumi.String("string"),
    	SourceArchiveUrl:    pulumi.String("string"),
    	SourceRepository: &cloudfunctions.SourceRepositoryArgs{
    		Url: pulumi.String("string"),
    	},
    	SourceToken:                pulumi.String("string"),
    	SourceUploadUrl:            pulumi.String("string"),
    	Timeout:                    pulumi.String("string"),
    	VpcConnector:               pulumi.String("string"),
    	VpcConnectorEgressSettings: cloudfunctions.FunctionVpcConnectorEgressSettingsVpcConnectorEgressSettingsUnspecified,
    })
    
    var functionResource = new Function("functionResource", FunctionArgs.builder()
        .availableMemoryMb(0)
        .buildEnvironmentVariables(Map.of("string", "string"))
        .buildWorkerPool("string")
        .description("string")
        .dockerRegistry("DOCKER_REGISTRY_UNSPECIFIED")
        .dockerRepository("string")
        .entryPoint("string")
        .environmentVariables(Map.of("string", "string"))
        .eventTrigger(EventTriggerArgs.builder()
            .eventType("string")
            .resource("string")
            .failurePolicy(FailurePolicyArgs.builder()
                .retry()
                .build())
            .service("string")
            .build())
        .httpsTrigger(HttpsTriggerArgs.builder()
            .securityLevel("SECURITY_LEVEL_UNSPECIFIED")
            .build())
        .ingressSettings("INGRESS_SETTINGS_UNSPECIFIED")
        .kmsKeyName("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .maxInstances(0)
        .minInstances(0)
        .name("string")
        .project("string")
        .runtime("string")
        .secretEnvironmentVariables(SecretEnvVarArgs.builder()
            .key("string")
            .project("string")
            .secret("string")
            .version("string")
            .build())
        .secretVolumes(SecretVolumeArgs.builder()
            .mountPath("string")
            .project("string")
            .secret("string")
            .versions(SecretVersionArgs.builder()
                .path("string")
                .version("string")
                .build())
            .build())
        .serviceAccountEmail("string")
        .sourceArchiveUrl("string")
        .sourceRepository(SourceRepositoryArgs.builder()
            .url("string")
            .build())
        .sourceToken("string")
        .sourceUploadUrl("string")
        .timeout("string")
        .vpcConnector("string")
        .vpcConnectorEgressSettings("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED")
        .build());
    
    function_resource = google_native.cloudfunctions.v1.Function("functionResource",
        available_memory_mb=0,
        build_environment_variables={
            "string": "string",
        },
        build_worker_pool="string",
        description="string",
        docker_registry=google_native.cloudfunctions.v1.FunctionDockerRegistry.DOCKER_REGISTRY_UNSPECIFIED,
        docker_repository="string",
        entry_point="string",
        environment_variables={
            "string": "string",
        },
        event_trigger=google_native.cloudfunctions.v1.EventTriggerArgs(
            event_type="string",
            resource="string",
            failure_policy=google_native.cloudfunctions.v1.FailurePolicyArgs(
                retry=google_native.cloudfunctions.v1.RetryArgs(),
            ),
            service="string",
        ),
        https_trigger=google_native.cloudfunctions.v1.HttpsTriggerArgs(
            security_level=google_native.cloudfunctions.v1.HttpsTriggerSecurityLevel.SECURITY_LEVEL_UNSPECIFIED,
        ),
        ingress_settings=google_native.cloudfunctions.v1.FunctionIngressSettings.INGRESS_SETTINGS_UNSPECIFIED,
        kms_key_name="string",
        labels={
            "string": "string",
        },
        location="string",
        max_instances=0,
        min_instances=0,
        name="string",
        project="string",
        runtime="string",
        secret_environment_variables=[google_native.cloudfunctions.v1.SecretEnvVarArgs(
            key="string",
            project="string",
            secret="string",
            version="string",
        )],
        secret_volumes=[google_native.cloudfunctions.v1.SecretVolumeArgs(
            mount_path="string",
            project="string",
            secret="string",
            versions=[google_native.cloudfunctions.v1.SecretVersionArgs(
                path="string",
                version="string",
            )],
        )],
        service_account_email="string",
        source_archive_url="string",
        source_repository=google_native.cloudfunctions.v1.SourceRepositoryArgs(
            url="string",
        ),
        source_token="string",
        source_upload_url="string",
        timeout="string",
        vpc_connector="string",
        vpc_connector_egress_settings=google_native.cloudfunctions.v1.FunctionVpcConnectorEgressSettings.VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED)
    
    const functionResource = new google_native.cloudfunctions.v1.Function("functionResource", {
        availableMemoryMb: 0,
        buildEnvironmentVariables: {
            string: "string",
        },
        buildWorkerPool: "string",
        description: "string",
        dockerRegistry: google_native.cloudfunctions.v1.FunctionDockerRegistry.DockerRegistryUnspecified,
        dockerRepository: "string",
        entryPoint: "string",
        environmentVariables: {
            string: "string",
        },
        eventTrigger: {
            eventType: "string",
            resource: "string",
            failurePolicy: {
                retry: {},
            },
            service: "string",
        },
        httpsTrigger: {
            securityLevel: google_native.cloudfunctions.v1.HttpsTriggerSecurityLevel.SecurityLevelUnspecified,
        },
        ingressSettings: google_native.cloudfunctions.v1.FunctionIngressSettings.IngressSettingsUnspecified,
        kmsKeyName: "string",
        labels: {
            string: "string",
        },
        location: "string",
        maxInstances: 0,
        minInstances: 0,
        name: "string",
        project: "string",
        runtime: "string",
        secretEnvironmentVariables: [{
            key: "string",
            project: "string",
            secret: "string",
            version: "string",
        }],
        secretVolumes: [{
            mountPath: "string",
            project: "string",
            secret: "string",
            versions: [{
                path: "string",
                version: "string",
            }],
        }],
        serviceAccountEmail: "string",
        sourceArchiveUrl: "string",
        sourceRepository: {
            url: "string",
        },
        sourceToken: "string",
        sourceUploadUrl: "string",
        timeout: "string",
        vpcConnector: "string",
        vpcConnectorEgressSettings: google_native.cloudfunctions.v1.FunctionVpcConnectorEgressSettings.VpcConnectorEgressSettingsUnspecified,
    });
    
    type: google-native:cloudfunctions/v1:Function
    properties:
        availableMemoryMb: 0
        buildEnvironmentVariables:
            string: string
        buildWorkerPool: string
        description: string
        dockerRegistry: DOCKER_REGISTRY_UNSPECIFIED
        dockerRepository: string
        entryPoint: string
        environmentVariables:
            string: string
        eventTrigger:
            eventType: string
            failurePolicy:
                retry: {}
            resource: string
            service: string
        httpsTrigger:
            securityLevel: SECURITY_LEVEL_UNSPECIFIED
        ingressSettings: INGRESS_SETTINGS_UNSPECIFIED
        kmsKeyName: string
        labels:
            string: string
        location: string
        maxInstances: 0
        minInstances: 0
        name: string
        project: string
        runtime: string
        secretEnvironmentVariables:
            - key: string
              project: string
              secret: string
              version: string
        secretVolumes:
            - mountPath: string
              project: string
              secret: string
              versions:
                - path: string
                  version: string
        serviceAccountEmail: string
        sourceArchiveUrl: string
        sourceRepository:
            url: string
        sourceToken: string
        sourceUploadUrl: string
        timeout: string
        vpcConnector: string
        vpcConnectorEgressSettings: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
    

    Function Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Function resource accepts the following input properties:

    AvailableMemoryMb int
    The amount of memory in MB available for a function. Defaults to 256MB.
    BuildEnvironmentVariables Dictionary<string, string>
    Build environment variables that shall be available during build time.
    BuildWorkerPool string
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    Description string
    User-provided description of a function.
    DockerRegistry Pulumi.GoogleNative.CloudFunctions.V1.FunctionDockerRegistry
    Docker Registry to use for this deployment. 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.
    DockerRepository string
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    EntryPoint string
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    EnvironmentVariables Dictionary<string, string>
    Environment variables that shall be available during function execution.
    EventTrigger Pulumi.GoogleNative.CloudFunctions.V1.Inputs.EventTrigger
    A source that fires events in response to a condition in another service.
    HttpsTrigger Pulumi.GoogleNative.CloudFunctions.V1.Inputs.HttpsTrigger
    An HTTPS endpoint type of source that can be triggered via URL.
    IngressSettings Pulumi.GoogleNative.CloudFunctions.V1.FunctionIngressSettings
    The ingress settings for the function, controlling what traffic can reach it.
    KmsKeyName string
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    Labels Dictionary<string, string>
    Labels associated with this Cloud Function.
    Location string
    MaxInstances int
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    MinInstances int
    A lower bound for the number function instances that may coexist at a given time.
    Name string
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    Network string
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    Project string
    Runtime string
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    SecretEnvironmentVariables List<Pulumi.GoogleNative.CloudFunctions.V1.Inputs.SecretEnvVar>
    Secret environment variables configuration.
    SecretVolumes List<Pulumi.GoogleNative.CloudFunctions.V1.Inputs.SecretVolume>
    Secret volumes configuration.
    ServiceAccountEmail string
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    SourceArchiveUrl string
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    SourceRepository Pulumi.GoogleNative.CloudFunctions.V1.Inputs.SourceRepository
    Beta Feature The source repository where a function is hosted.
    SourceToken string
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    SourceUploadUrl string
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    Timeout string
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    VpcConnector string
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    VpcConnectorEgressSettings Pulumi.GoogleNative.CloudFunctions.V1.FunctionVpcConnectorEgressSettings
    The egress settings for the connector, controlling what traffic is diverted through it.
    AvailableMemoryMb int
    The amount of memory in MB available for a function. Defaults to 256MB.
    BuildEnvironmentVariables map[string]string
    Build environment variables that shall be available during build time.
    BuildWorkerPool string
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    Description string
    User-provided description of a function.
    DockerRegistry FunctionDockerRegistry
    Docker Registry to use for this deployment. 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.
    DockerRepository string
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    EntryPoint string
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    EnvironmentVariables map[string]string
    Environment variables that shall be available during function execution.
    EventTrigger EventTriggerArgs
    A source that fires events in response to a condition in another service.
    HttpsTrigger HttpsTriggerArgs
    An HTTPS endpoint type of source that can be triggered via URL.
    IngressSettings FunctionIngressSettings
    The ingress settings for the function, controlling what traffic can reach it.
    KmsKeyName string
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    Labels map[string]string
    Labels associated with this Cloud Function.
    Location string
    MaxInstances int
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    MinInstances int
    A lower bound for the number function instances that may coexist at a given time.
    Name string
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    Network string
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    Project string
    Runtime string
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    SecretEnvironmentVariables []SecretEnvVarArgs
    Secret environment variables configuration.
    SecretVolumes []SecretVolumeArgs
    Secret volumes configuration.
    ServiceAccountEmail string
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    SourceArchiveUrl string
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    SourceRepository SourceRepositoryArgs
    Beta Feature The source repository where a function is hosted.
    SourceToken string
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    SourceUploadUrl string
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    Timeout string
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    VpcConnector string
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    VpcConnectorEgressSettings FunctionVpcConnectorEgressSettings
    The egress settings for the connector, controlling what traffic is diverted through it.
    availableMemoryMb Integer
    The amount of memory in MB available for a function. Defaults to 256MB.
    buildEnvironmentVariables Map<String,String>
    Build environment variables that shall be available during build time.
    buildWorkerPool String
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    description String
    User-provided description of a function.
    dockerRegistry FunctionDockerRegistry
    Docker Registry to use for this deployment. 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.
    dockerRepository String
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    entryPoint String
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    environmentVariables Map<String,String>
    Environment variables that shall be available during function execution.
    eventTrigger EventTrigger
    A source that fires events in response to a condition in another service.
    httpsTrigger HttpsTrigger
    An HTTPS endpoint type of source that can be triggered via URL.
    ingressSettings FunctionIngressSettings
    The ingress settings for the function, controlling what traffic can reach it.
    kmsKeyName String
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    labels Map<String,String>
    Labels associated with this Cloud Function.
    location String
    maxInstances Integer
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    minInstances Integer
    A lower bound for the number function instances that may coexist at a given time.
    name String
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    network String
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    project String
    runtime String
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    secretEnvironmentVariables List<SecretEnvVar>
    Secret environment variables configuration.
    secretVolumes List<SecretVolume>
    Secret volumes configuration.
    serviceAccountEmail String
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    sourceArchiveUrl String
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    sourceRepository SourceRepository
    Beta Feature The source repository where a function is hosted.
    sourceToken String
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    sourceUploadUrl String
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    timeout String
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    vpcConnector String
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    vpcConnectorEgressSettings FunctionVpcConnectorEgressSettings
    The egress settings for the connector, controlling what traffic is diverted through it.
    availableMemoryMb number
    The amount of memory in MB available for a function. Defaults to 256MB.
    buildEnvironmentVariables {[key: string]: string}
    Build environment variables that shall be available during build time.
    buildWorkerPool string
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    description string
    User-provided description of a function.
    dockerRegistry FunctionDockerRegistry
    Docker Registry to use for this deployment. 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.
    dockerRepository string
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    entryPoint string
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    environmentVariables {[key: string]: string}
    Environment variables that shall be available during function execution.
    eventTrigger EventTrigger
    A source that fires events in response to a condition in another service.
    httpsTrigger HttpsTrigger
    An HTTPS endpoint type of source that can be triggered via URL.
    ingressSettings FunctionIngressSettings
    The ingress settings for the function, controlling what traffic can reach it.
    kmsKeyName string
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    labels {[key: string]: string}
    Labels associated with this Cloud Function.
    location string
    maxInstances number
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    minInstances number
    A lower bound for the number function instances that may coexist at a given time.
    name string
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    network string
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    project string
    runtime string
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    secretEnvironmentVariables SecretEnvVar[]
    Secret environment variables configuration.
    secretVolumes SecretVolume[]
    Secret volumes configuration.
    serviceAccountEmail string
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    sourceArchiveUrl string
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    sourceRepository SourceRepository
    Beta Feature The source repository where a function is hosted.
    sourceToken string
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    sourceUploadUrl string
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    timeout string
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    vpcConnector string
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    vpcConnectorEgressSettings FunctionVpcConnectorEgressSettings
    The egress settings for the connector, controlling what traffic is diverted through it.
    available_memory_mb int
    The amount of memory in MB available for a function. Defaults to 256MB.
    build_environment_variables Mapping[str, str]
    Build environment variables that shall be available during build time.
    build_worker_pool str
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    description str
    User-provided description of a function.
    docker_registry FunctionDockerRegistry
    Docker Registry to use for this deployment. 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.
    docker_repository str
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    entry_point str
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    environment_variables Mapping[str, str]
    Environment variables that shall be available during function execution.
    event_trigger EventTriggerArgs
    A source that fires events in response to a condition in another service.
    https_trigger HttpsTriggerArgs
    An HTTPS endpoint type of source that can be triggered via URL.
    ingress_settings FunctionIngressSettings
    The ingress settings for the function, controlling what traffic can reach it.
    kms_key_name str
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    labels Mapping[str, str]
    Labels associated with this Cloud Function.
    location str
    max_instances int
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    min_instances int
    A lower bound for the number function instances that may coexist at a given time.
    name str
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    network str
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    project str
    runtime str
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    secret_environment_variables Sequence[SecretEnvVarArgs]
    Secret environment variables configuration.
    secret_volumes Sequence[SecretVolumeArgs]
    Secret volumes configuration.
    service_account_email str
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    source_archive_url str
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    source_repository SourceRepositoryArgs
    Beta Feature The source repository where a function is hosted.
    source_token str
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    source_upload_url str
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    timeout str
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    vpc_connector str
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    vpc_connector_egress_settings FunctionVpcConnectorEgressSettings
    The egress settings for the connector, controlling what traffic is diverted through it.
    availableMemoryMb Number
    The amount of memory in MB available for a function. Defaults to 256MB.
    buildEnvironmentVariables Map<String>
    Build environment variables that shall be available during build time.
    buildWorkerPool String
    Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
    description String
    User-provided description of a function.
    dockerRegistry "DOCKER_REGISTRY_UNSPECIFIED" | "CONTAINER_REGISTRY" | "ARTIFACT_REGISTRY"
    Docker Registry to use for this deployment. 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.
    dockerRepository String
    User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
    entryPoint String
    The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
    environmentVariables Map<String>
    Environment variables that shall be available during function execution.
    eventTrigger Property Map
    A source that fires events in response to a condition in another service.
    httpsTrigger Property Map
    An HTTPS endpoint type of source that can be triggered via URL.
    ingressSettings "INGRESS_SETTINGS_UNSPECIFIED" | "ALLOW_ALL" | "ALLOW_INTERNAL_ONLY" | "ALLOW_INTERNAL_AND_GCLB"
    The ingress settings for the function, controlling what traffic can reach it.
    kmsKeyName String
    Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. The following service accounts need to be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). 1. Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) - Required to protect the function's image. 2. Google Storage service account (service-{project_number}@gs-project-accounts.iam.gserviceaccount.com) - Required to protect the function's source code. If this service account does not exist, deploying a function without a KMS key or retrieving the service agent name provisions it. For more information, see https://cloud.google.com/storage/docs/projects#service-agents and https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that are not accessible by the end user.
    labels Map<String>
    Labels associated with this Cloud Function.
    location String
    maxInstances Number
    The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the Max Instances Guide for more details.
    minInstances Number
    A lower bound for the number function instances that may coexist at a given time.
    name String
    A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
    network String
    Deprecated: use vpc_connector

    Deprecated: Deprecated: use vpc_connector

    project String
    runtime String
    The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the gcloud command reference.
    secretEnvironmentVariables List<Property Map>
    Secret environment variables configuration.
    secretVolumes List<Property Map>
    Secret volumes configuration.
    serviceAccountEmail String
    The email of the function's service account. If empty, defaults to {project_id}@appspot.gserviceaccount.com.
    sourceArchiveUrl String
    The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
    sourceRepository Property Map
    Beta Feature The source repository where a function is hosted.
    sourceToken String
    Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
    sourceUploadUrl String
    The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
    timeout String
    The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
    vpcConnector String
    The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/* This field is mutually exclusive with network field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects.
    vpcConnectorEgressSettings "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" | "PRIVATE_RANGES_ONLY" | "ALL_TRAFFIC"
    The egress settings for the connector, controlling what traffic is diverted through it.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Function resource produces the following output properties:

    BuildId string
    The Cloud Build ID of the latest successful deployment of the function.
    BuildName string
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the function deployment.
    UpdateTime string
    The last update timestamp of a Cloud Function.
    VersionId string
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
    BuildId string
    The Cloud Build ID of the latest successful deployment of the function.
    BuildName string
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the function deployment.
    UpdateTime string
    The last update timestamp of a Cloud Function.
    VersionId string
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
    buildId String
    The Cloud Build ID of the latest successful deployment of the function.
    buildName String
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the function deployment.
    updateTime String
    The last update timestamp of a Cloud Function.
    versionId String
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
    buildId string
    The Cloud Build ID of the latest successful deployment of the function.
    buildName string
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the function deployment.
    updateTime string
    The last update timestamp of a Cloud Function.
    versionId string
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
    build_id str
    The Cloud Build ID of the latest successful deployment of the function.
    build_name str
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of the function deployment.
    update_time str
    The last update timestamp of a Cloud Function.
    version_id str
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
    buildId String
    The Cloud Build ID of the latest successful deployment of the function.
    buildName String
    The Cloud Build Name of the function deployment. projects//locations//builds/.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the function deployment.
    updateTime String
    The last update timestamp of a Cloud Function.
    versionId String
    The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.

    Supporting Types

    EventTrigger, EventTriggerArgs

    EventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    Resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    FailurePolicy Pulumi.GoogleNative.CloudFunctions.V1.Inputs.FailurePolicy
    Specifies policy for failed executions.
    Service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    EventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    Resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    FailurePolicy FailurePolicy
    Specifies policy for failed executions.
    Service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType String
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    resource String
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    failurePolicy FailurePolicy
    Specifies policy for failed executions.
    service String
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    failurePolicy FailurePolicy
    Specifies policy for failed executions.
    service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    event_type str
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    resource str
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    failure_policy FailurePolicy
    Specifies policy for failed executions.
    service str
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType String
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    resource String
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    failurePolicy Property Map
    Specifies policy for failed executions.
    service String
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.

    EventTriggerResponse, EventTriggerResponseArgs

    EventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    FailurePolicy Pulumi.GoogleNative.CloudFunctions.V1.Inputs.FailurePolicyResponse
    Specifies policy for failed executions.
    Resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    Service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    EventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    FailurePolicy FailurePolicyResponse
    Specifies policy for failed executions.
    Resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    Service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType String
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    failurePolicy FailurePolicyResponse
    Specifies policy for failed executions.
    resource String
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    service String
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType string
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    failurePolicy FailurePolicyResponse
    Specifies policy for failed executions.
    resource string
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    service string
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    event_type str
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    failure_policy FailurePolicyResponse
    Specifies policy for failed executions.
    resource str
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    service str
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.
    eventType String
    The type of event to observe. For example: providers/cloud.storage/eventTypes/object.change and providers/cloud.pubsub/eventTypes/topic.publish. Event types match pattern providers/*/eventTypes/*.*. The pattern contains: 1. namespace: For example, cloud.storage and google.firebase.analytics. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type object. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
    failurePolicy Property Map
    Specifies policy for failed executions.
    resource String
    The resource(s) from which to observe events, for example, projects/_/buckets/myBucket. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the CloudFunction. 2. The resource type must match the pattern expected for an event_type. For example, an EventTrigger that has an event_type of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an EventTrigger. These will always be returned in the normalized "long" format. See each service's documentation for supported formats.
    service String
    The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, storage.googleapis.com is the default for all event types in the google.storage namespace.

    FailurePolicy, FailurePolicyArgs

    Retry Pulumi.GoogleNative.CloudFunctions.V1.Inputs.Retry
    If specified, then the function will be retried in case of a failure.
    Retry Retry
    If specified, then the function will be retried in case of a failure.
    retry Retry
    If specified, then the function will be retried in case of a failure.
    retry Retry
    If specified, then the function will be retried in case of a failure.
    retry Retry
    If specified, then the function will be retried in case of a failure.
    retry Property Map
    If specified, then the function will be retried in case of a failure.

    FailurePolicyResponse, FailurePolicyResponseArgs

    Retry Pulumi.GoogleNative.CloudFunctions.V1.Inputs.RetryResponse
    If specified, then the function will be retried in case of a failure.
    Retry RetryResponse
    If specified, then the function will be retried in case of a failure.
    retry RetryResponse
    If specified, then the function will be retried in case of a failure.
    retry RetryResponse
    If specified, then the function will be retried in case of a failure.
    retry RetryResponse
    If specified, then the function will be retried in case of a failure.
    retry Property Map
    If specified, then the function will be retried in case of a failure.

    FunctionDockerRegistry, FunctionDockerRegistryArgs

    DockerRegistryUnspecified
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    ContainerRegistry
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    ArtifactRegistry
    ARTIFACT_REGISTRYDocker 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.
    FunctionDockerRegistryDockerRegistryUnspecified
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    FunctionDockerRegistryContainerRegistry
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    FunctionDockerRegistryArtifactRegistry
    ARTIFACT_REGISTRYDocker 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.
    DockerRegistryUnspecified
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    ContainerRegistry
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    ArtifactRegistry
    ARTIFACT_REGISTRYDocker 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.
    DockerRegistryUnspecified
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    ContainerRegistry
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    ArtifactRegistry
    ARTIFACT_REGISTRYDocker 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.
    DOCKER_REGISTRY_UNSPECIFIED
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    CONTAINER_REGISTRY
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    ARTIFACT_REGISTRY
    ARTIFACT_REGISTRYDocker 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.
    "DOCKER_REGISTRY_UNSPECIFIED"
    DOCKER_REGISTRY_UNSPECIFIEDUnspecified.
    "CONTAINER_REGISTRY"
    CONTAINER_REGISTRYDocker images will be stored in multi-regional Container Registry repositories named gcf.
    "ARTIFACT_REGISTRY"
    ARTIFACT_REGISTRYDocker 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.

    FunctionIngressSettings, FunctionIngressSettingsArgs

    IngressSettingsUnspecified
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    AllowAll
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    AllowInternalOnly
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    AllowInternalAndGclb
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.
    FunctionIngressSettingsIngressSettingsUnspecified
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    FunctionIngressSettingsAllowAll
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    FunctionIngressSettingsAllowInternalOnly
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    FunctionIngressSettingsAllowInternalAndGclb
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.
    IngressSettingsUnspecified
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    AllowAll
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    AllowInternalOnly
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    AllowInternalAndGclb
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.
    IngressSettingsUnspecified
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    AllowAll
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    AllowInternalOnly
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    AllowInternalAndGclb
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.
    INGRESS_SETTINGS_UNSPECIFIED
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    ALLOW_ALL
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    ALLOW_INTERNAL_ONLY
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    ALLOW_INTERNAL_AND_GCLB
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.
    "INGRESS_SETTINGS_UNSPECIFIED"
    INGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    "ALLOW_ALL"
    ALLOW_ALLAllow HTTP traffic from public and private sources.
    "ALLOW_INTERNAL_ONLY"
    ALLOW_INTERNAL_ONLYAllow HTTP traffic from only private VPC sources.
    "ALLOW_INTERNAL_AND_GCLB"
    ALLOW_INTERNAL_AND_GCLBAllow HTTP traffic from private VPC sources and through GCLB.

    FunctionVpcConnectorEgressSettings, FunctionVpcConnectorEgressSettingsArgs

    VpcConnectorEgressSettingsUnspecified
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    PrivateRangesOnly
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    AllTraffic
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.
    FunctionVpcConnectorEgressSettingsVpcConnectorEgressSettingsUnspecified
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    FunctionVpcConnectorEgressSettingsPrivateRangesOnly
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    FunctionVpcConnectorEgressSettingsAllTraffic
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.
    VpcConnectorEgressSettingsUnspecified
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    PrivateRangesOnly
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    AllTraffic
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.
    VpcConnectorEgressSettingsUnspecified
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    PrivateRangesOnly
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    AllTraffic
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    PRIVATE_RANGES_ONLY
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    ALL_TRAFFIC
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.
    "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"
    VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIEDUnspecified.
    "PRIVATE_RANGES_ONLY"
    PRIVATE_RANGES_ONLYUse the VPC Access Connector only for private IP space from RFC1918.
    "ALL_TRAFFIC"
    ALL_TRAFFICForce the use of VPC Access Connector for all egress traffic from the function.

    HttpsTrigger, HttpsTriggerArgs

    SecurityLevel HttpsTriggerSecurityLevel
    The security level for the function.
    securityLevel HttpsTriggerSecurityLevel
    The security level for the function.
    securityLevel HttpsTriggerSecurityLevel
    The security level for the function.
    security_level HttpsTriggerSecurityLevel
    The security level for the function.

    HttpsTriggerResponse, HttpsTriggerResponseArgs

    SecurityLevel string
    The security level for the function.
    Url string
    The deployed url for the function.
    SecurityLevel string
    The security level for the function.
    Url string
    The deployed url for the function.
    securityLevel String
    The security level for the function.
    url String
    The deployed url for the function.
    securityLevel string
    The security level for the function.
    url string
    The deployed url for the function.
    security_level str
    The security level for the function.
    url str
    The deployed url for the function.
    securityLevel String
    The security level for the function.
    url String
    The deployed url for the function.

    HttpsTriggerSecurityLevel, HttpsTriggerSecurityLevelArgs

    SecurityLevelUnspecified
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    SecureAlways
    SECURE_ALWAYSRequests 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.
    SecureOptional
    SECURE_OPTIONALBoth 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.
    HttpsTriggerSecurityLevelSecurityLevelUnspecified
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    HttpsTriggerSecurityLevelSecureAlways
    SECURE_ALWAYSRequests 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.
    HttpsTriggerSecurityLevelSecureOptional
    SECURE_OPTIONALBoth 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.
    SecurityLevelUnspecified
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    SecureAlways
    SECURE_ALWAYSRequests 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.
    SecureOptional
    SECURE_OPTIONALBoth 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.
    SecurityLevelUnspecified
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    SecureAlways
    SECURE_ALWAYSRequests 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.
    SecureOptional
    SECURE_OPTIONALBoth 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.
    SECURITY_LEVEL_UNSPECIFIED
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    SECURE_ALWAYS
    SECURE_ALWAYSRequests 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.
    SECURE_OPTIONAL
    SECURE_OPTIONALBoth 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.
    "SECURITY_LEVEL_UNSPECIFIED"
    SECURITY_LEVEL_UNSPECIFIEDUnspecified.
    "SECURE_ALWAYS"
    SECURE_ALWAYSRequests 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.
    "SECURE_OPTIONAL"
    SECURE_OPTIONALBoth 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.

    SecretEnvVar, SecretEnvVarArgs

    Key string
    Name of the environment variable.
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    Key string
    Name of the environment variable.
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key String
    Name of the environment variable.
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    version String
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key string
    Name of the environment variable.
    project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret string
    Name of the secret in secret manager (not the full resource name).
    version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key str
    Name of the environment variable.
    project str
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret str
    Name of the secret in secret manager (not the full resource name).
    version str
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key String
    Name of the environment variable.
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    version String
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

    SecretEnvVarResponse, SecretEnvVarResponseArgs

    Key string
    Name of the environment variable.
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    Key string
    Name of the environment variable.
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key String
    Name of the environment variable.
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    version String
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key string
    Name of the environment variable.
    project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret string
    Name of the secret in secret manager (not the full resource name).
    version string
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key str
    Name of the environment variable.
    project str
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret str
    Name of the secret in secret manager (not the full resource name).
    version str
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
    key String
    Name of the environment variable.
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    version String
    Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.

    SecretVersion, SecretVersionArgs

    Path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    Version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    Path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    Version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path String
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version String
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path str
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version str
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path String
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version String
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

    SecretVersionResponse, SecretVersionResponseArgs

    Path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    Version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    Path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    Version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path String
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version String
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path string
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version string
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path str
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version str
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
    path String
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
    version String
    Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

    SecretVolume, SecretVolumeArgs

    MountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Versions List<Pulumi.GoogleNative.CloudFunctions.V1.Inputs.SecretVersion>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    MountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Versions []SecretVersion
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath String
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    versions List<SecretVersion>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret string
    Name of the secret in secret manager (not the full resource name).
    versions SecretVersion[]
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mount_path str
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project str
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret str
    Name of the secret in secret manager (not the full resource name).
    versions Sequence[SecretVersion]
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath String
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    versions List<Property Map>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.

    SecretVolumeResponse, SecretVolumeResponseArgs

    MountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Versions List<Pulumi.GoogleNative.CloudFunctions.V1.Inputs.SecretVersionResponse>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    MountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    Project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    Secret string
    Name of the secret in secret manager (not the full resource name).
    Versions []SecretVersionResponse
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath String
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    versions List<SecretVersionResponse>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath string
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project string
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret string
    Name of the secret in secret manager (not the full resource name).
    versions SecretVersionResponse[]
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mount_path str
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project str
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret str
    Name of the secret in secret manager (not the full resource name).
    versions Sequence[SecretVersionResponse]
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.
    mountPath String
    The path within the container to mount the secret volume. For example, setting the mount_path as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
    project String
    Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
    secret String
    Name of the secret in secret manager (not the full resource name).
    versions List<Property Map>
    List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.

    SourceRepository, SourceRepositoryArgs

    Url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    Url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    url String
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    url str
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    url String
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.

    SourceRepositoryResponse, SourceRepositoryResponseArgs

    DeployedUrl string
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    Url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    DeployedUrl string
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    Url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    deployedUrl String
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    url String
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    deployedUrl string
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    url string
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    deployed_url str
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    url str
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.
    deployedUrl String
    The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
    url String
    The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/* To refer to a moveable alias (branch): https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/* In particular, to refer to HEAD use master moveable alias. To refer to a specific fixed alias (tag): https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/* You may omit paths/* if you want to use the main directory.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi