Cloud Functions Function

Cloud Functions Function in GCP is a serverless compute resource that lets you run event-driven code without managing servers. It automatically scales based on incoming requests or events, supports multiple runtimes, and integrates with other Google Cloud services. This resource is ideal for lightweight applications, APIs, and background processing tasks.

gcp.cloudfunctions_function

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
build_configcorejsonDescribes the Build step of the function that builds a container from the given source.
create_timecoretimestampOutput only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
datadog_display_namecorestring
descriptioncorestringUser-provided description of a function.
environmentcorestringDescribe whether the function is 1st Gen or 2nd Gen.
event_triggercorejsonAn Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
kms_key_namecorestringResource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
labelscorearray<string>Labels associated with this Cloud Function.
namecorestringA user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
resource_namecorestring
satisfies_pzicoreboolOutput only. Reserved for future use.
satisfies_pzscoreboolOutput only. Reserved for future use.
service_configcorejsonDescribes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
statecorestringOutput only. State of the function.
state_messagescorejsonOutput only. State Messages for this Cloud Function.
tagscorehstore
update_timecoretimestampOutput only. The last update timestamp of a Cloud Function.
upgrade_infocorejsonOutput only. UpgradeInfo for this Cloud Function
urlcorestringOutput only. The deployed url for the function.