- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`ancestors
Type: UNORDERED_LIST_STRING
build_config
Type: STRUCT
Provider name: buildConfig
Description: Describes the Build step of the function that builds a container from the given source.
automatic_update_policy
Type: STRUCT
Provider name: automaticUpdatePolicy
build
Type: STRING
Provider name: build
Description: Output only. The Cloud Build name of the latest successful deployment of the function.
docker_registry
Type: STRING
Provider name: dockerRegistry
Description: Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to ARTIFACT_REGISTRY
. If docker_repository
field is specified, this field should either be left unspecified or set to ARTIFACT_REGISTRY
.
Possible values:
DOCKER_REGISTRY_UNSPECIFIED
- Unspecified.CONTAINER_REGISTRY
- Docker images will be stored in multi-regional Container Registry repositories named gcf
.ARTIFACT_REGISTRY
- Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named gcf-artifacts
in every region in which a function is deployed. But the repository to use can also be specified by the user using the docker_repository
field.docker_repository
Type: STRING
Provider name: dockerRepository
Description: Repository in Artifact Registry to which the function docker image will be pushed after it is built by Cloud Build. If specified by user, it is created and managed by user with a customer managed encryption key. Otherwise, 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}
. Repository format must be ‘DOCKER’.
entry_point
Type: STRING
Provider name: entryPoint
Description: 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
.
gcp_source
Type: STRUCT
Provider name: source
Description: The location of the function source code.
git_uri
STRING
gitUri
repo_source
STRUCT
repoSource
branch_name
STRING
branchName
commit_sha
STRING
commitSha
dir
STRING
dir
dir
is specified and is an absolute path, this value is ignored for that step’s execution. eg. helloworld (no leading slash allowed)project_id
STRING
projectId
repo_name
STRING
repoName
tag_name
STRING
tagName
storage_source
STRUCT
storageSource
bucket
STRING
bucket
generation
STRING
generation
object
STRING
object
.tar.gz
) containing source to build.source_upload_url
STRING
sourceUploadUrl
on_deploy_update_policy
Type: STRUCT
Provider name: onDeployUpdatePolicy
runtime_version
STRING
runtimeVersion
runtime
Type: STRING
Provider name: runtime
Description: 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.
service_account
Type: STRING
Provider name: serviceAccount
Description: Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}
.
source_provenance
Type: STRUCT
Provider name: sourceProvenance
Description: Output only. A permanent fixed identifier for source.
git_uri
STRING
gitUri
source.git_uri
, if exists, with any commits resolved.resolved_repo_source
STRUCT
resolvedRepoSource
source.repo_source
, if exists, with any revisions resolved.branch_name
STRING
branchName
commit_sha
STRING
commitSha
dir
STRING
dir
dir
is specified and is an absolute path, this value is ignored for that step’s execution. eg. helloworld (no leading slash allowed)project_id
STRING
projectId
repo_name
STRING
repoName
tag_name
STRING
tagName
resolved_storage_source
STRUCT
resolvedStorageSource
source.storage_source
, if exists, with any generations resolved.bucket
STRING
bucket
generation
STRING
generation
object
STRING
object
.tar.gz
) containing source to build.source_upload_url
STRING
sourceUploadUrl
source_token
Type: STRING
Provider name: sourceToken
Description: An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
worker_pool
Type: STRING
Provider name: workerPool
Description: 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.
create_time
Type: TIMESTAMP
Provider name: createTime
Description: Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.
description
Type: STRING
Provider name: description
Description: User-provided description of a function.
environment
Type: STRING
Provider name: environment
Description: Describe whether the function is 1st Gen or 2nd Gen.
Possible values:
ENVIRONMENT_UNSPECIFIED
- UnspecifiedGEN_1
- Gen 1GEN_2
- Gen 2event_trigger
Type: STRUCT
Provider name: eventTrigger
Description: An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
channel
STRING
channel
projects/{project}/locations/{location}/channels/{channel}
format. You must provide a channel to receive events from Eventarc SaaS partners.event_filters
UNORDERED_LIST_STRUCT
eventFilters
attribute
STRING
attribute
operator
STRING
operator
match-path-pattern
.value
STRING
value
event_type
STRING
eventType
google.cloud.audit.log.v1.written
or google.cloud.pubsub.topic.v1.messagePublished
.pubsub_topic
STRING
pubsubTopic
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
STRING
retryPolicy
RETRY_POLICY_UNSPECIFIED
- Not specified.RETRY_POLICY_DO_NOT_RETRY
- Do not retry.RETRY_POLICY_RETRY
- Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).service
STRING
service
storage.googleapis.com
is the default for all event types in the google.storage
namespace. The field is only applicable to 1st Gen functions.service_account_email
STRING
serviceAccountEmail
run.routes.invoke
. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com
.trigger
STRING
trigger
projects/{project}/locations/{region}/triggers/{trigger}
.trigger_region
STRING
triggerRegion
kms_key_name
Type: STRING
Provider name: kmsKeyName
Description: Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
.
labels
Type: UNORDERED_LIST_STRING
name
Type: STRING
Provider name: name
Description: A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
resource_name
Type: STRING
satisfies_pzi
Type: BOOLEAN
Provider name: satisfiesPzi
Description: Output only. Reserved for future use.
satisfies_pzs
Type: BOOLEAN
Provider name: satisfiesPzs
Description: Output only. Reserved for future use.
service_config
Type: STRUCT
Provider name: serviceConfig
Description: Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
all_traffic_on_latest_revision
BOOLEAN
allTrafficOnLatestRevision
available_cpu
STRING
availableCpu
available_memory
STRING
availableMemory
binary_authorization_policy
STRING
binaryAuthorizationPolicy
ingress_settings
STRING
ingressSettings
INGRESS_SETTINGS_UNSPECIFIED
- Unspecified.ALLOW_ALL
- Allow HTTP traffic from public and private sources.ALLOW_INTERNAL_ONLY
- Allow HTTP traffic from only private VPC sources.ALLOW_INTERNAL_AND_GCLB
- Allow HTTP traffic from private VPC sources and through GCLB.max_instance_count
INT32
maxInstanceCount
max_instance_request_concurrency
INT32
maxInstanceRequestConcurrency
min_instance_count
INT32
minInstanceCount
revision
STRING
revision
secret_volumes
UNORDERED_LIST_STRUCT
secretVolumes
mount_path
STRING
mountPath
/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/secretsproject_id
STRING
projectId
secret
STRING
secret
versions
UNORDERED_LIST_STRUCT
versions
latest
version of the secret will be made available in a file named after the secret under the mount point.path
STRING
path
secret_foo
would mount the secret value file at /etc/secrets/secret_foo
.version
STRING
version
latest
version with secret volumes as secret value changes are reflected immediately.security_level
STRING
securityLevel
SECURITY_LEVEL_UNSPECIFIED
- Unspecified.SECURE_ALWAYS
- Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.SECURE_OPTIONAL
- Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.service
STRING
service
projects/{project}/locations/{region}/services/{service}
service_account_email
STRING
serviceAccountEmail
{project_number}-compute@developer.gserviceaccount.com
.timeout_seconds
INT32
timeoutSeconds
uri
STRING
uri
vpc_connector
STRING
vpcConnector
projects/*/locations/*/connectors/*
.vpc_connector_egress_settings
STRING
vpcConnectorEgressSettings
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
- Unspecified.PRIVATE_RANGES_ONLY
- Use the VPC Access Connector only for private IP space from RFC1918.ALL_TRAFFIC
- Force the use of VPC Access Connector for all egress traffic from the function.state
Type: STRING
Provider name: state
Description: Output only. State of the function.
Possible values:
STATE_UNSPECIFIED
- Not specified. Invalid state.ACTIVE
- Function has been successfully deployed and is serving.FAILED
- Function deployment failed and the function is not serving.DEPLOYING
- Function is being created or updated.DELETING
- Function is being deleted.UNKNOWN
- Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.DETACHING
- Function is being detached.DETACH_FAILED
- Function detach failed and the function is still serving.state_messages
Type: UNORDERED_LIST_STRUCT
Provider name: stateMessages
Description: Output only. State Messages for this Cloud Function.
message
STRING
message
severity
STRING
severity
SEVERITY_UNSPECIFIED
- Not specified. Invalid severity.ERROR
- ERROR-level severity.WARNING
- WARNING-level severity.INFO
- INFO-level severity.type
STRING
type
tags
Type: UNORDERED_LIST_STRING
update_time
Type: TIMESTAMP
Provider name: updateTime
Description: Output only. The last update timestamp of a Cloud Function.
upgrade_info
Type: STRUCT
Provider name: upgradeInfo
Description: Output only. UpgradeInfo for this Cloud Function
build_config
STRUCT
buildConfig
automatic_update_policy
Type: STRUCT
Provider name: automaticUpdatePolicy
build
Type: STRING
Provider name: build
Description: Output only. The Cloud Build name of the latest successful deployment of the function.
docker_registry
Type: STRING
Provider name: dockerRegistry
Description: Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to ARTIFACT_REGISTRY
. If docker_repository
field is specified, this field should either be left unspecified or set to ARTIFACT_REGISTRY
.
Possible values:
DOCKER_REGISTRY_UNSPECIFIED
- Unspecified.CONTAINER_REGISTRY
- Docker images will be stored in multi-regional Container Registry repositories named gcf
.ARTIFACT_REGISTRY
- Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named gcf-artifacts
in every region in which a function is deployed. But the repository to use can also be specified by the user using the docker_repository
field.docker_repository
Type: STRING
Provider name: dockerRepository
Description: Repository in Artifact Registry to which the function docker image will be pushed after it is built by Cloud Build. If specified by user, it is created and managed by user with a customer managed encryption key. Otherwise, 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}
. Repository format must be ‘DOCKER’.
entry_point
Type: STRING
Provider name: entryPoint
Description: 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
.
gcp_source
Type: STRUCT
Provider name: source
Description: The location of the function source code.
git_uri
STRING
gitUri
repo_source
STRUCT
repoSource
branch_name
STRING
branchName
commit_sha
STRING
commitSha
dir
STRING
dir
dir
is specified and is an absolute path, this value is ignored for that step’s execution. eg. helloworld (no leading slash allowed)project_id
STRING
projectId
repo_name
STRING
repoName
tag_name
STRING
tagName
storage_source
STRUCT
storageSource
bucket
STRING
bucket
generation
STRING
generation
object
STRING
object
.tar.gz
) containing source to build.source_upload_url
STRING
sourceUploadUrl
on_deploy_update_policy
Type: STRUCT
Provider name: onDeployUpdatePolicy
runtime_version
STRING
runtimeVersion
runtime
Type: STRING
Provider name: runtime
Description: 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.
service_account
Type: STRING
Provider name: serviceAccount
Description: Service account to be used for building the container. The format of this field is projects/{projectId}/serviceAccounts/{serviceAccountEmail}
.
source_provenance
Type: STRUCT
Provider name: sourceProvenance
Description: Output only. A permanent fixed identifier for source.
git_uri
STRING
gitUri
source.git_uri
, if exists, with any commits resolved.resolved_repo_source
STRUCT
resolvedRepoSource
source.repo_source
, if exists, with any revisions resolved.branch_name
STRING
branchName
commit_sha
STRING
commitSha
dir
STRING
dir
dir
is specified and is an absolute path, this value is ignored for that step’s execution. eg. helloworld (no leading slash allowed)project_id
STRING
projectId
repo_name
STRING
repoName
tag_name
STRING
tagName
resolved_storage_source
STRUCT
resolvedStorageSource
source.storage_source
, if exists, with any generations resolved.bucket
STRING
bucket
generation
STRING
generation
object
STRING
object
.tar.gz
) containing source to build.source_upload_url
STRING
sourceUploadUrl
source_token
Type: STRING
Provider name: sourceToken
Description: An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
worker_pool
Type: STRING
Provider name: workerPool
Description: 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.
event_trigger
STRUCT
eventTrigger
channel
STRING
channel
projects/{project}/locations/{location}/channels/{channel}
format. You must provide a channel to receive events from Eventarc SaaS partners.event_filters
UNORDERED_LIST_STRUCT
eventFilters
attribute
STRING
attribute
operator
STRING
operator
match-path-pattern
.value
STRING
value
event_type
STRING
eventType
google.cloud.audit.log.v1.written
or google.cloud.pubsub.topic.v1.messagePublished
.pubsub_topic
STRING
pubsubTopic
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
STRING
retryPolicy
RETRY_POLICY_UNSPECIFIED
- Not specified.RETRY_POLICY_DO_NOT_RETRY
- Do not retry.RETRY_POLICY_RETRY
- Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).service
STRING
service
storage.googleapis.com
is the default for all event types in the google.storage
namespace. The field is only applicable to 1st Gen functions.service_account_email
STRING
serviceAccountEmail
run.routes.invoke
. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com
.trigger
STRING
trigger
projects/{project}/locations/{region}/triggers/{trigger}
.trigger_region
STRING
triggerRegion
service_config
STRUCT
serviceConfig
all_traffic_on_latest_revision
BOOLEAN
allTrafficOnLatestRevision
available_cpu
STRING
availableCpu
available_memory
STRING
availableMemory
binary_authorization_policy
STRING
binaryAuthorizationPolicy
ingress_settings
STRING
ingressSettings
INGRESS_SETTINGS_UNSPECIFIED
- Unspecified.ALLOW_ALL
- Allow HTTP traffic from public and private sources.ALLOW_INTERNAL_ONLY
- Allow HTTP traffic from only private VPC sources.ALLOW_INTERNAL_AND_GCLB
- Allow HTTP traffic from private VPC sources and through GCLB.max_instance_count
INT32
maxInstanceCount
max_instance_request_concurrency
INT32
maxInstanceRequestConcurrency
min_instance_count
INT32
minInstanceCount
revision
STRING
revision
secret_volumes
UNORDERED_LIST_STRUCT
secretVolumes
mount_path
STRING
mountPath
/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/secretsproject_id
STRING
projectId
secret
STRING
secret
versions
UNORDERED_LIST_STRUCT
versions
latest
version of the secret will be made available in a file named after the secret under the mount point.path
STRING
path
secret_foo
would mount the secret value file at /etc/secrets/secret_foo
.version
STRING
version
latest
version with secret volumes as secret value changes are reflected immediately.security_level
STRING
securityLevel
SECURITY_LEVEL_UNSPECIFIED
- Unspecified.SECURE_ALWAYS
- Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.SECURE_OPTIONAL
- Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.service
STRING
service
projects/{project}/locations/{region}/services/{service}
service_account_email
STRING
serviceAccountEmail
{project_number}-compute@developer.gserviceaccount.com
.timeout_seconds
INT32
timeoutSeconds
uri
STRING
uri
vpc_connector
STRING
vpcConnector
projects/*/locations/*/connectors/*
.vpc_connector_egress_settings
STRING
vpcConnectorEgressSettings
VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
- Unspecified.PRIVATE_RANGES_ONLY
- Use the VPC Access Connector only for private IP space from RFC1918.ALL_TRAFFIC
- Force the use of VPC Access Connector for all egress traffic from the function.upgrade_state
STRING
upgradeState
UPGRADE_STATE_UNSPECIFIED
- Unspecified state. Most functions are in this upgrade state.ELIGIBLE_FOR_2ND_GEN_UPGRADE
- Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade.UPGRADE_OPERATION_IN_PROGRESS
- An upgrade related operation is in progress.SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL
- SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.SETUP_FUNCTION_UPGRADE_CONFIG_ERROR
- SetupFunctionUpgradeConfig API was un-successful.ABORT_FUNCTION_UPGRADE_ERROR
- AbortFunctionUpgrade API was un-successful.REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL
- RedirectFunctionUpgradeTraffic API was successful and traffic is served by 2nd Gen function stack.REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR
- RedirectFunctionUpgradeTraffic API was un-successful.ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR
- RollbackFunctionUpgradeTraffic API was un-successful.COMMIT_FUNCTION_UPGRADE_ERROR
- CommitFunctionUpgrade API was un-successful.url
Type: STRING
Provider name: url
Description: Output only. The deployed url for the function.