Google Native

Pulumi Official
Package maintained by Pulumi
v0.22.0 published on Friday, Jul 29, 2022 by Pulumi

Function

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 a Function Resource

new Function(name: string, args?: FunctionArgs, opts?: CustomResourceOptions);
@overload
def Function(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             build_config: Optional[BuildConfigArgs] = None,
             description: Optional[str] = None,
             environment: Optional[FunctionEnvironment] = None,
             event_trigger: Optional[EventTriggerArgs] = None,
             function_id: Optional[str] = None,
             labels: Optional[Mapping[str, str]] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             project: Optional[str] = None,
             service_config: Optional[ServiceConfigArgs] = None)
@overload
def Function(resource_name: str,
             args: Optional[FunctionArgs] = None,
             opts: Optional[ResourceOptions] = 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/v2beta:Function
properties: # The arguments to resource properties.
options: # 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.
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.

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:

BuildConfig Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.BuildConfigArgs

Describes the Build step of the function that builds a container from the given source.

Description string

User-provided description of a function.

Environment Pulumi.GoogleNative.CloudFunctions.V2Beta.FunctionEnvironment

Describe whether the function is gen1 or gen2.

EventTrigger Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.EventTriggerArgs

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

FunctionId string

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

Labels Dictionary<string, string>

Labels associated with this Cloud Function.

Location string
Name string

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

Project string
ServiceConfig Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.ServiceConfigArgs

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

BuildConfig BuildConfigArgs

Describes the Build step of the function that builds a container from the given source.

Description string

User-provided description of a function.

Environment FunctionEnvironment

Describe whether the function is gen1 or gen2.

EventTrigger EventTriggerArgs

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

FunctionId string

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

Labels map[string]string

Labels associated with this Cloud Function.

Location string
Name string

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

Project string
ServiceConfig ServiceConfigArgs

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

buildConfig BuildConfigArgs

Describes the Build step of the function that builds a container from the given source.

description String

User-provided description of a function.

environment FunctionEnvironment

Describe whether the function is gen1 or gen2.

eventTrigger EventTriggerArgs

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

functionId String

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

labels Map<String,String>

Labels associated with this Cloud Function.

location String
name String

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

project String
serviceConfig ServiceConfigArgs

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

buildConfig BuildConfigArgs

Describes the Build step of the function that builds a container from the given source.

description string

User-provided description of a function.

environment FunctionEnvironment

Describe whether the function is gen1 or gen2.

eventTrigger EventTriggerArgs

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

functionId string

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

labels {[key: string]: string}

Labels associated with this Cloud Function.

location string
name string

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

project string
serviceConfig ServiceConfigArgs

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

build_config BuildConfigArgs

Describes the Build step of the function that builds a container from the given source.

description str

User-provided description of a function.

environment FunctionEnvironment

Describe whether the function is gen1 or gen2.

event_trigger EventTriggerArgs

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

function_id str

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

labels Mapping[str, str]

Labels associated with this Cloud Function.

location str
name str

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

project str
service_config ServiceConfigArgs

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

buildConfig Property Map

Describes the Build step of the function that builds a container from the given source.

description String

User-provided description of a function.

environment "ENVIRONMENT_UNSPECIFIED" | "GEN_1" | "GEN_2"

Describe whether the function is gen1 or gen2.

eventTrigger Property Map

An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.

functionId String

The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

labels Map<String>

Labels associated with this Cloud Function.

location String
name String

A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*

project String
serviceConfig Property Map

Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

State string

State of the function.

StateMessages List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Outputs.GoogleCloudFunctionsV2betaStateMessageResponse>

State Messages for this Cloud Function.

UpdateTime string

The last update timestamp of a Cloud Function.

Id string

The provider-assigned unique ID for this managed resource.

State string

State of the function.

StateMessages []GoogleCloudFunctionsV2betaStateMessageResponse

State Messages for this Cloud Function.

UpdateTime string

The last update timestamp of a Cloud Function.

id String

The provider-assigned unique ID for this managed resource.

state String

State of the function.

stateMessages List<GoogleCloudFunctionsV2betaStateMessageResponse>

State Messages for this Cloud Function.

updateTime String

The last update timestamp of a Cloud Function.

id string

The provider-assigned unique ID for this managed resource.

state string

State of the function.

stateMessages GoogleCloudFunctionsV2betaStateMessageResponse[]

State Messages for this Cloud Function.

updateTime string

The last update timestamp of a Cloud Function.

id str

The provider-assigned unique ID for this managed resource.

state str

State of the function.

state_messages Sequence[GoogleCloudFunctionsV2betaStateMessageResponse]

State Messages for this Cloud Function.

update_time str

The last update timestamp of a Cloud Function.

id String

The provider-assigned unique ID for this managed resource.

state String

State of the function.

stateMessages List<Property Map>

State Messages for this Cloud Function.

updateTime String

The last update timestamp of a Cloud Function.

Supporting Types

BuildConfig

DockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

EnvironmentVariables Dictionary<string, string>

User-provided build-time environment variables for the function

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.

Source Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.Source

The location of the function source code.

WorkerPool 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.

DockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

EnvironmentVariables map[string]string

User-provided build-time environment variables for the function

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.

Source Source

The location of the function source code.

WorkerPool 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.

dockerRepository String

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables Map<String,String>

User-provided build-time environment variables for the function

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.

source Source

The location of the function source code.

workerPool 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.

dockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables {[key: string]: string}

User-provided build-time environment variables for the function

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.

source Source

The location of the function source code.

workerPool 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.

docker_repository str

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environment_variables Mapping[str, str]

User-provided build-time environment variables for the function

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.

source Source

The location of the function source code.

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.

dockerRepository String

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables Map<String>

User-provided build-time environment variables for the function

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.

source Property Map

The location of the function source code.

workerPool 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.

BuildConfigResponse

Build string

The Cloud Build name of the latest successful deployment of the function.

DockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

EnvironmentVariables Dictionary<string, string>

User-provided build-time environment variables for the function

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.

Source Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SourceResponse

The location of the function source code.

SourceProvenance Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SourceProvenanceResponse

A permanent fixed identifier for source.

WorkerPool 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.

Build string

The Cloud Build name of the latest successful deployment of the function.

DockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

EnvironmentVariables map[string]string

User-provided build-time environment variables for the function

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.

Source SourceResponse

The location of the function source code.

SourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

WorkerPool 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.

build String

The Cloud Build name of the latest successful deployment of the function.

dockerRepository String

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables Map<String,String>

User-provided build-time environment variables for the function

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.

source SourceResponse

The location of the function source code.

sourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

workerPool 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.

build string

The Cloud Build name of the latest successful deployment of the function.

dockerRepository string

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables {[key: string]: string}

User-provided build-time environment variables for the function

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.

source SourceResponse

The location of the function source code.

sourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

workerPool 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.

build str

The Cloud Build name of the latest successful deployment of the function.

docker_repository str

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environment_variables Mapping[str, str]

User-provided build-time environment variables for the function

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.

source SourceResponse

The location of the function source code.

source_provenance SourceProvenanceResponse

A permanent fixed identifier for source.

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.

build String

The Cloud Build name of the latest successful deployment of the function.

dockerRepository String

Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. 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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.

environmentVariables Map<String>

User-provided build-time environment variables for the function

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.

source Property Map

The location of the function source code.

sourceProvenance Property Map

A permanent fixed identifier for source.

workerPool 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.

EventFilter

Attribute string

The name of a CloudEvents attribute.

Value string

The value for the attribute.

Operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

Attribute string

The name of a CloudEvents attribute.

Value string

The value for the attribute.

Operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

attribute String

The name of a CloudEvents attribute.

value String

The value for the attribute.

operator String

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

attribute string

The name of a CloudEvents attribute.

value string

The value for the attribute.

operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

attribute str

The name of a CloudEvents attribute.

value str

The value for the attribute.

operator str

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

attribute String

The name of a CloudEvents attribute.

value String

The value for the attribute.

operator String

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

EventFilterResponse

Attribute string

The name of a CloudEvents attribute.

Operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

Value string

The value for the attribute.

Attribute string

The name of a CloudEvents attribute.

Operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

Value string

The value for the attribute.

attribute String

The name of a CloudEvents attribute.

operator String

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

value String

The value for the attribute.

attribute string

The name of a CloudEvents attribute.

operator string

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

value string

The value for the attribute.

attribute str

The name of a CloudEvents attribute.

operator str

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

value str

The value for the attribute.

attribute String

The name of a CloudEvents attribute.

operator String

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.

value String

The value for the attribute.

EventTrigger

EventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

Channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

EventFilters List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.EventFilter>

Criteria used to filter events.

PubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

RetryPolicy Pulumi.GoogleNative.CloudFunctions.V2Beta.EventTriggerRetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

ServiceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

TriggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

EventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

Channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

EventFilters []EventFilter

Criteria used to filter events.

PubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

RetryPolicy EventTriggerRetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

ServiceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

TriggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

eventType String

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

channel String

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters List<EventFilter>

Criteria used to filter events.

pubsubTopic String

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy EventTriggerRetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail String

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

triggerRegion String

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

eventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters EventFilter[]

Criteria used to filter events.

pubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy EventTriggerRetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

triggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

event_type str

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

channel str

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

event_filters Sequence[EventFilter]

Criteria used to filter events.

pubsub_topic str

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retry_policy EventTriggerRetryPolicy

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

service_account_email str

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

trigger_region str

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

eventType String

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

channel String

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters List<Property Map>

Criteria used to filter events.

pubsubTopic String

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy "RETRY_POLICY_UNSPECIFIED" | "RETRY_POLICY_DO_NOT_RETRY" | "RETRY_POLICY_RETRY"

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail String

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

triggerRegion String

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

EventTriggerResponse

Channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

EventFilters List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.EventFilterResponse>

Criteria used to filter events.

EventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

PubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

RetryPolicy string

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

ServiceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Trigger string

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

TriggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

Channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

EventFilters []EventFilterResponse

Criteria used to filter events.

EventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

PubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

RetryPolicy string

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

ServiceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

Trigger string

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

TriggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

channel String

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters List<EventFilterResponse>

Criteria used to filter events.

eventType String

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

pubsubTopic String

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy String

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail String

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

trigger String

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

triggerRegion String

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

channel string

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters EventFilterResponse[]

Criteria used to filter events.

eventType string

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

pubsubTopic string

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy string

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail string

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

trigger string

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

triggerRegion string

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

channel str

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

event_filters Sequence[EventFilterResponse]

Criteria used to filter events.

event_type str

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

pubsub_topic str

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retry_policy str

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

service_account_email str

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

trigger str

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

trigger_region str

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

channel String

Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.

eventFilters List<Property Map>

Criteria used to filter events.

eventType String

The type of event to observe. For example: google.cloud.audit.log.v1.written or google.cloud.pubsub.topic.v1.messagePublished.

pubsubTopic String

Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: projects/{project}/topics/{topic}. This is only valid for events of type google.cloud.pubsub.topic.v1.messagePublished. The topic provided here will not be deleted at function deletion.

retryPolicy String

Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).

serviceAccountEmail String

Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is run.routes.invoke. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.

trigger String

The resource name of the Eventarc trigger. The format of this field is projects/{project}/locations/{region}/triggers/{trigger}.

triggerRegion String

The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.

EventTriggerRetryPolicy

RetryPolicyUnspecified
RETRY_POLICY_UNSPECIFIED

Not specified.

RetryPolicyDoNotRetry
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

RetryPolicyRetry
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

EventTriggerRetryPolicyRetryPolicyUnspecified
RETRY_POLICY_UNSPECIFIED

Not specified.

EventTriggerRetryPolicyRetryPolicyDoNotRetry
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

EventTriggerRetryPolicyRetryPolicyRetry
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

RetryPolicyUnspecified
RETRY_POLICY_UNSPECIFIED

Not specified.

RetryPolicyDoNotRetry
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

RetryPolicyRetry
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

RetryPolicyUnspecified
RETRY_POLICY_UNSPECIFIED

Not specified.

RetryPolicyDoNotRetry
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

RetryPolicyRetry
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

RETRY_POLICY_UNSPECIFIED
RETRY_POLICY_UNSPECIFIED

Not specified.

RETRY_POLICY_DO_NOT_RETRY
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

RETRY_POLICY_RETRY
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

"RETRY_POLICY_UNSPECIFIED"
RETRY_POLICY_UNSPECIFIED

Not specified.

"RETRY_POLICY_DO_NOT_RETRY"
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

"RETRY_POLICY_RETRY"
RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

FunctionEnvironment

EnvironmentUnspecified
ENVIRONMENT_UNSPECIFIED

Unspecified

Gen1
GEN_1

Gen 1

Gen2
GEN_2

Gen 2

FunctionEnvironmentEnvironmentUnspecified
ENVIRONMENT_UNSPECIFIED

Unspecified

FunctionEnvironmentGen1
GEN_1

Gen 1

FunctionEnvironmentGen2
GEN_2

Gen 2

EnvironmentUnspecified
ENVIRONMENT_UNSPECIFIED

Unspecified

Gen1
GEN_1

Gen 1

Gen2
GEN_2

Gen 2

EnvironmentUnspecified
ENVIRONMENT_UNSPECIFIED

Unspecified

Gen1
GEN_1

Gen 1

Gen2
GEN_2

Gen 2

ENVIRONMENT_UNSPECIFIED
ENVIRONMENT_UNSPECIFIED

Unspecified

GEN1
GEN_1

Gen 1

GEN2
GEN_2

Gen 2

"ENVIRONMENT_UNSPECIFIED"
ENVIRONMENT_UNSPECIFIED

Unspecified

"GEN_1"
GEN_1

Gen 1

"GEN_2"
GEN_2

Gen 2

GoogleCloudFunctionsV2betaStateMessageResponse

Message string

The message.

Severity string

Severity of the state message.

Type string

One-word CamelCase type of the state message.

Message string

The message.

Severity string

Severity of the state message.

Type string

One-word CamelCase type of the state message.

message String

The message.

severity String

Severity of the state message.

type String

One-word CamelCase type of the state message.

message string

The message.

severity string

Severity of the state message.

type string

One-word CamelCase type of the state message.

message str

The message.

severity str

Severity of the state message.

type str

One-word CamelCase type of the state message.

message String

The message.

severity String

Severity of the state message.

type String

One-word CamelCase type of the state message.

RepoSource

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

Dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

Dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

dir String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha string

Explicit commit SHA to build.

dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName string

Name of the Cloud Source Repository.

tagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branch_name str

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commit_sha str

Explicit commit SHA to build.

dir str

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invert_regex bool

Only trigger a build if the revision regex does NOT match the revision regex.

project str

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repo_name str

Name of the Cloud Source Repository.

tag_name str

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

dir String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

RepoSourceResponse

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

Dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

Dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

dir String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha string

Explicit commit SHA to build.

dir string

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName string

Name of the Cloud Source Repository.

tagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branch_name str

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commit_sha str

Explicit commit SHA to build.

dir str

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invert_regex bool

Only trigger a build if the revision regex does NOT match the revision regex.

project str

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repo_name str

Name of the Cloud Source Repository.

tag_name str

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

dir String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

SecretEnvVar

Key string

Name of the environment variable.

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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

Key string

Name of the environment variable.

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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

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

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

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 path: /etc/secrets

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

Secret string

Name of the secret in secret manager (not the full resource name).

Versions List<Pulumi.GoogleNative.CloudFunctions.V2Beta.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 path: /etc/secrets

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project String

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project str

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project String

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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

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 path: /etc/secrets

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.

Secret string

Name of the secret in secret manager (not the full resource name).

Versions List<Pulumi.GoogleNative.CloudFunctions.V2Beta.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 path: /etc/secrets

Project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project String

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project string

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project str

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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 path: /etc/secrets

project String

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as 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.

ServiceConfig

AllTrafficOnLatestRevision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

AvailableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

EnvironmentVariables Dictionary<string, string>

Environment variables that shall be available during function execution.

IngressSettings Pulumi.GoogleNative.CloudFunctions.V2Beta.ServiceConfigIngressSettings

The ingress settings for the function, controlling what traffic can reach it.

MaxInstanceCount 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.

MinInstanceCount int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

SecretEnvironmentVariables List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SecretEnvVar>

Secret environment variables configuration.

SecretVolumes List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SecretVolume>

Secret volumes configuration.

ServiceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

TimeoutSeconds int

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

VpcConnectorEgressSettings Pulumi.GoogleNative.CloudFunctions.V2Beta.ServiceConfigVpcConnectorEgressSettings

The egress settings for the connector, controlling what traffic is diverted through it.

AllTrafficOnLatestRevision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

AvailableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

EnvironmentVariables map[string]string

Environment variables that shall be available during function execution.

IngressSettings ServiceConfigIngressSettings

The ingress settings for the function, controlling what traffic can reach it.

MaxInstanceCount 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.

MinInstanceCount int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

SecretEnvironmentVariables []SecretEnvVar

Secret environment variables configuration.

SecretVolumes []SecretVolume

Secret volumes configuration.

ServiceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

TimeoutSeconds int

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

VpcConnectorEgressSettings ServiceConfigVpcConnectorEgressSettings

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision Boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory String

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables Map<String,String>

Environment variables that shall be available during function execution.

ingressSettings ServiceConfigIngressSettings

The ingress settings for the function, controlling what traffic can reach it.

maxInstanceCount 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.

minInstanceCount Integer

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

secretEnvironmentVariables List<SecretEnvVar>

Secret environment variables configuration.

secretVolumes List<SecretVolume>

Secret volumes configuration.

serviceAccountEmail String

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds Integer

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings ServiceConfigVpcConnectorEgressSettings

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables {[key: string]: string}

Environment variables that shall be available during function execution.

ingressSettings ServiceConfigIngressSettings

The ingress settings for the function, controlling what traffic can reach it.

maxInstanceCount 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.

minInstanceCount number

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

secretEnvironmentVariables SecretEnvVar[]

Secret environment variables configuration.

secretVolumes SecretVolume[]

Secret volumes configuration.

serviceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds number

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings ServiceConfigVpcConnectorEgressSettings

The egress settings for the connector, controlling what traffic is diverted through it.

all_traffic_on_latest_revision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

available_memory str

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environment_variables Mapping[str, str]

Environment variables that shall be available during function execution.

ingress_settings ServiceConfigIngressSettings

The ingress settings for the function, controlling what traffic can reach it.

max_instance_count 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_instance_count int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

secret_environment_variables Sequence[SecretEnvVar]

Secret environment variables configuration.

secret_volumes Sequence[SecretVolume]

Secret volumes configuration.

service_account_email str

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeout_seconds int

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpc_connector_egress_settings ServiceConfigVpcConnectorEgressSettings

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision Boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory String

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables Map<String>

Environment variables that shall be available during function execution.

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.

maxInstanceCount 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.

minInstanceCount Number

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

secretEnvironmentVariables List<Property Map>

Secret environment variables configuration.

secretVolumes List<Property Map>

Secret volumes configuration.

serviceAccountEmail String

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds Number

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 Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" | "PRIVATE_RANGES_ONLY" | "ALL_TRAFFIC"

The egress settings for the connector, controlling what traffic is diverted through it.

ServiceConfigIngressSettings

IngressSettingsUnspecified
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

AllowAll
ALLOW_ALL

Allow HTTP traffic from public and private sources.

AllowInternalOnly
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

AllowInternalAndGclb
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

ServiceConfigIngressSettingsIngressSettingsUnspecified
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

ServiceConfigIngressSettingsAllowAll
ALLOW_ALL

Allow HTTP traffic from public and private sources.

ServiceConfigIngressSettingsAllowInternalOnly
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

ServiceConfigIngressSettingsAllowInternalAndGclb
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

IngressSettingsUnspecified
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

AllowAll
ALLOW_ALL

Allow HTTP traffic from public and private sources.

AllowInternalOnly
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

AllowInternalAndGclb
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

IngressSettingsUnspecified
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

AllowAll
ALLOW_ALL

Allow HTTP traffic from public and private sources.

AllowInternalOnly
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

AllowInternalAndGclb
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

INGRESS_SETTINGS_UNSPECIFIED
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

ALLOW_ALL
ALLOW_ALL

Allow HTTP traffic from public and private sources.

ALLOW_INTERNAL_ONLY
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

ALLOW_INTERNAL_AND_GCLB
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

"INGRESS_SETTINGS_UNSPECIFIED"
INGRESS_SETTINGS_UNSPECIFIED

Unspecified.

"ALLOW_ALL"
ALLOW_ALL

Allow HTTP traffic from public and private sources.

"ALLOW_INTERNAL_ONLY"
ALLOW_INTERNAL_ONLY

Allow HTTP traffic from only private VPC sources.

"ALLOW_INTERNAL_AND_GCLB"
ALLOW_INTERNAL_AND_GCLB

Allow HTTP traffic from private VPC sources and through GCLB.

ServiceConfigResponse

AllTrafficOnLatestRevision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

AvailableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

EnvironmentVariables Dictionary<string, string>

Environment variables that shall be available during function execution.

IngressSettings string

The ingress settings for the function, controlling what traffic can reach it.

MaxInstanceCount 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.

MinInstanceCount int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

Revision string

The name of service revision.

SecretEnvironmentVariables List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SecretEnvVarResponse>

Secret environment variables configuration.

SecretVolumes List<Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.SecretVolumeResponse>

Secret volumes configuration.

Service string

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

ServiceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

TimeoutSeconds int

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.

Uri string

URI of the Service deployed.

VpcConnector string

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

VpcConnectorEgressSettings string

The egress settings for the connector, controlling what traffic is diverted through it.

AllTrafficOnLatestRevision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

AvailableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

EnvironmentVariables map[string]string

Environment variables that shall be available during function execution.

IngressSettings string

The ingress settings for the function, controlling what traffic can reach it.

MaxInstanceCount 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.

MinInstanceCount int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

Revision string

The name of service revision.

SecretEnvironmentVariables []SecretEnvVarResponse

Secret environment variables configuration.

SecretVolumes []SecretVolumeResponse

Secret volumes configuration.

Service string

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

ServiceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

TimeoutSeconds int

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.

Uri string

URI of the Service deployed.

VpcConnector string

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

VpcConnectorEgressSettings string

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision Boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory String

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables Map<String,String>

Environment variables that shall be available during function execution.

ingressSettings String

The ingress settings for the function, controlling what traffic can reach it.

maxInstanceCount 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.

minInstanceCount Integer

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

revision String

The name of service revision.

secretEnvironmentVariables List<SecretEnvVarResponse>

Secret environment variables configuration.

secretVolumes List<SecretVolumeResponse>

Secret volumes configuration.

service String

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

serviceAccountEmail String

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds Integer

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.

uri String

URI of the Service deployed.

vpcConnector String

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings String

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory string

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables {[key: string]: string}

Environment variables that shall be available during function execution.

ingressSettings string

The ingress settings for the function, controlling what traffic can reach it.

maxInstanceCount 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.

minInstanceCount number

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

revision string

The name of service revision.

secretEnvironmentVariables SecretEnvVarResponse[]

Secret environment variables configuration.

secretVolumes SecretVolumeResponse[]

Secret volumes configuration.

service string

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

serviceAccountEmail string

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds number

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.

uri string

URI of the Service deployed.

vpcConnector string

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings string

The egress settings for the connector, controlling what traffic is diverted through it.

all_traffic_on_latest_revision bool

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

available_memory str

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environment_variables Mapping[str, str]

Environment variables that shall be available during function execution.

ingress_settings str

The ingress settings for the function, controlling what traffic can reach it.

max_instance_count 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_instance_count int

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

revision str

The name of service revision.

secret_environment_variables Sequence[SecretEnvVarResponse]

Secret environment variables configuration.

secret_volumes Sequence[SecretVolumeResponse]

Secret volumes configuration.

service str

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

service_account_email str

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeout_seconds int

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.

uri str

URI of the Service deployed.

vpc_connector str

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpc_connector_egress_settings str

The egress settings for the connector, controlling what traffic is diverted through it.

allTrafficOnLatestRevision Boolean

Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.

availableMemory String

The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.

environmentVariables Map<String>

Environment variables that shall be available during function execution.

ingressSettings String

The ingress settings for the function, controlling what traffic can reach it.

maxInstanceCount 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.

minInstanceCount Number

The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.

revision String

The name of service revision.

secretEnvironmentVariables List<Property Map>

Secret environment variables configuration.

secretVolumes List<Property Map>

Secret volumes configuration.

service String

Name of the service associated with a Function. The format of this field is projects/{project}/locations/{region}/services/{service}

serviceAccountEmail String

The email of the service's service account. If empty, defaults to {project_number}-compute@developer.gserviceaccount.com.

timeoutSeconds Number

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.

uri String

URI of the Service deployed.

vpcConnector String

The Serverless VPC Access connector that this cloud function can connect to. The format of this field is projects/*/locations/*/connectors/*.

vpcConnectorEgressSettings String

The egress settings for the connector, controlling what traffic is diverted through it.

ServiceConfigVpcConnectorEgressSettings

VpcConnectorEgressSettingsUnspecified
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

PrivateRangesOnly
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

AllTraffic
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

ServiceConfigVpcConnectorEgressSettingsVpcConnectorEgressSettingsUnspecified
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

ServiceConfigVpcConnectorEgressSettingsPrivateRangesOnly
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

ServiceConfigVpcConnectorEgressSettingsAllTraffic
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

VpcConnectorEgressSettingsUnspecified
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

PrivateRangesOnly
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

AllTraffic
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

VpcConnectorEgressSettingsUnspecified
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

PrivateRangesOnly
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

AllTraffic
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

PRIVATE_RANGES_ONLY
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

ALL_TRAFFIC
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

"VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED

Unspecified.

"PRIVATE_RANGES_ONLY"
PRIVATE_RANGES_ONLY

Use the VPC Access Connector only for private IP space from RFC1918.

"ALL_TRAFFIC"
ALL_TRAFFIC

Force the use of VPC Access Connector for all egress traffic from the function.

Source

RepoSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.RepoSource

If provided, get the source from this location in a Cloud Source Repository.

StorageSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.StorageSource

If provided, get the source from this location in Google Cloud Storage.

RepoSource RepoSource

If provided, get the source from this location in a Cloud Source Repository.

StorageSource StorageSource

If provided, get the source from this location in Google Cloud Storage.

repoSource RepoSource

If provided, get the source from this location in a Cloud Source Repository.

storageSource StorageSource

If provided, get the source from this location in Google Cloud Storage.

repoSource RepoSource

If provided, get the source from this location in a Cloud Source Repository.

storageSource StorageSource

If provided, get the source from this location in Google Cloud Storage.

repo_source RepoSource

If provided, get the source from this location in a Cloud Source Repository.

storage_source StorageSource

If provided, get the source from this location in Google Cloud Storage.

repoSource Property Map

If provided, get the source from this location in a Cloud Source Repository.

storageSource Property Map

If provided, get the source from this location in Google Cloud Storage.

SourceProvenanceResponse

ResolvedRepoSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.RepoSourceResponse

A copy of the build's source.repo_source, if exists, with any revisions resolved.

ResolvedStorageSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.StorageSourceResponse

A copy of the build's source.storage_source, if exists, with any generations resolved.

ResolvedRepoSource RepoSourceResponse

A copy of the build's source.repo_source, if exists, with any revisions resolved.

ResolvedStorageSource StorageSourceResponse

A copy of the build's source.storage_source, if exists, with any generations resolved.

resolvedRepoSource RepoSourceResponse

A copy of the build's source.repo_source, if exists, with any revisions resolved.

resolvedStorageSource StorageSourceResponse

A copy of the build's source.storage_source, if exists, with any generations resolved.

resolvedRepoSource RepoSourceResponse

A copy of the build's source.repo_source, if exists, with any revisions resolved.

resolvedStorageSource StorageSourceResponse

A copy of the build's source.storage_source, if exists, with any generations resolved.

resolved_repo_source RepoSourceResponse

A copy of the build's source.repo_source, if exists, with any revisions resolved.

resolved_storage_source StorageSourceResponse

A copy of the build's source.storage_source, if exists, with any generations resolved.

resolvedRepoSource Property Map

A copy of the build's source.repo_source, if exists, with any revisions resolved.

resolvedStorageSource Property Map

A copy of the build's source.storage_source, if exists, with any generations resolved.

SourceResponse

RepoSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.RepoSourceResponse

If provided, get the source from this location in a Cloud Source Repository.

StorageSource Pulumi.GoogleNative.CloudFunctions.V2Beta.Inputs.StorageSourceResponse

If provided, get the source from this location in Google Cloud Storage.

RepoSource RepoSourceResponse

If provided, get the source from this location in a Cloud Source Repository.

StorageSource StorageSourceResponse

If provided, get the source from this location in Google Cloud Storage.

repoSource RepoSourceResponse

If provided, get the source from this location in a Cloud Source Repository.

storageSource StorageSourceResponse

If provided, get the source from this location in Google Cloud Storage.

repoSource RepoSourceResponse

If provided, get the source from this location in a Cloud Source Repository.

storageSource StorageSourceResponse

If provided, get the source from this location in Google Cloud Storage.

repo_source RepoSourceResponse

If provided, get the source from this location in a Cloud Source Repository.

storage_source StorageSourceResponse

If provided, get the source from this location in Google Cloud Storage.

repoSource Property Map

If provided, get the source from this location in a Cloud Source Repository.

storageSource Property Map

If provided, get the source from this location in Google Cloud Storage.

StorageSource

Bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

Generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

Bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

Generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket String

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation String

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object String

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket str

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation str

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object str

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket String

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation String

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object String

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

StorageSourceResponse

Bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

Generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

Bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

Generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket String

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation String

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object String

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket string

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation string

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object string

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket str

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation str

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object str

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

bucket String

Google Cloud Storage bucket containing the source (see Bucket Name Requirements).

generation String

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

object String

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0