Cloud Functions API: projects. Manages lightweight user-provided functions executed in response to events. See: https://cloud.google.com/functionsapi/reference/rest/v1/projects
Cloud Functions API: projects. Manages lightweight user-provided functions executed in response to events. See: https://cloud.google.com/functionsapi/reference/rest/v1/projects
(locations-functions-call$ auth parameters body)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/call
Required parameters: name
Optional parameters: none
Body:
{:data string}
Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits, refer to Rate Limits.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/call Required parameters: name Optional parameters: none Body: {:data string} Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits, refer to [Rate Limits](https://cloud.google.com/functions/quotas#rate_limits).
(locations-functions-create$ auth parameters body)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/create
Required parameters: location
Optional parameters: none
Body:
{:description string, :buildWorkerPool string, :labels {}, :secretEnvironmentVariables [{:key string, :projectId string, :secret string, :version string}], :versionId string, :sourceToken string, :secretVolumes [{:versions [SecretVersion], :mountPath string, :secret string, :projectId string}], :name string, :entryPoint string, :buildName string, :environmentVariables {}, :minInstances integer, :sourceUploadUrl string, :vpcConnector string, :buildEnvironmentVariables {}, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :service string, :resource string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :buildId string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string, :securityLevel string}, :sourceRepository {:deployedUrl string, :url string}}
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.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/create Required parameters: location Optional parameters: none Body: {:description string, :buildWorkerPool string, :labels {}, :secretEnvironmentVariables [{:key string, :projectId string, :secret string, :version string}], :versionId string, :sourceToken string, :secretVolumes [{:versions [SecretVersion], :mountPath string, :secret string, :projectId string}], :name string, :entryPoint string, :buildName string, :environmentVariables {}, :minInstances integer, :sourceUploadUrl string, :vpcConnector string, :buildEnvironmentVariables {}, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :service string, :resource string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :buildId string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string, :securityLevel string}, :sourceRepository {:deployedUrl string, :url string}} 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.
(locations-functions-delete$ auth parameters)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/delete
Required parameters: name
Optional parameters: none
Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/delete Required parameters: name Optional parameters: none Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.
(locations-functions-generateDownloadUrl$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{:versionId string}
Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within minutes after generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/generateDownloadUrl Required parameters: name Optional parameters: none Body: {:versionId string} Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within minutes after generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls
(locations-functions-generateUploadUrl$ auth parameters body)
Required parameters: parent
Optional parameters: none
Body:
{}
Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * Source file size should not exceed 100MB limit. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, these two headers need to be specified: * content-type: application/zip
* x-goog-content-length-range: 0,104857600
And this header SHOULD NOT be specified: * Authorization: Bearer YOUR_TOKEN
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/generateUploadUrl Required parameters: parent Optional parameters: none Body: {} Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * Source file size should not exceed 100MB limit. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, these two headers need to be specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,104857600` And this header SHOULD NOT be specified: * `Authorization: Bearer YOUR_TOKEN`
(locations-functions-get$ auth parameters)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/get
Required parameters: name
Optional parameters: none
Returns a function with the given name from the requested project.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/get Required parameters: name Optional parameters: none Returns a function with the given name from the requested project.
(locations-functions-getIamPolicy$ auth parameters)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/getIamPolicy
Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set.
(locations-functions-list$ auth parameters)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/list
Required parameters: parent
Optional parameters: pageToken, pageSize
Returns a list of functions that belong to the requested project.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/list Required parameters: parent Optional parameters: pageToken, pageSize Returns a list of functions that belong to the requested project.
(locations-functions-patch$ auth parameters body)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:description string, :buildWorkerPool string, :labels {}, :secretEnvironmentVariables [{:key string, :projectId string, :secret string, :version string}], :versionId string, :sourceToken string, :secretVolumes [{:versions [SecretVersion], :mountPath string, :secret string, :projectId string}], :name string, :entryPoint string, :buildName string, :environmentVariables {}, :minInstances integer, :sourceUploadUrl string, :vpcConnector string, :buildEnvironmentVariables {}, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :service string, :resource string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :buildId string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string, :securityLevel string}, :sourceRepository {:deployedUrl string, :url string}}
Updates existing function.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/patch Required parameters: name Optional parameters: updateMask Body: {:description string, :buildWorkerPool string, :labels {}, :secretEnvironmentVariables [{:key string, :projectId string, :secret string, :version string}], :versionId string, :sourceToken string, :secretVolumes [{:versions [SecretVersion], :mountPath string, :secret string, :projectId string}], :name string, :entryPoint string, :buildName string, :environmentVariables {}, :minInstances integer, :sourceUploadUrl string, :vpcConnector string, :buildEnvironmentVariables {}, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :service string, :resource string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :buildId string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string, :securityLevel string}, :sourceRepository {:deployedUrl string, :url string}} Updates existing function.
(locations-functions-setIamPolicy$ auth parameters body)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:version integer, :etag string, :auditConfigs [AuditConfig], :bindings [Binding]}, :updateMask string}
Sets the IAM access control policy on the specified function. Replaces any existing policy.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:version integer, :etag string, :auditConfigs [AuditConfig], :bindings [Binding]}, :updateMask string} Sets the IAM access control policy on the specified function. Replaces any existing policy.
(locations-functions-testIamPermissions$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Tests the specified permissions against the IAM access control policy for a function. If the function does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/functions/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Tests the specified permissions against the IAM access control policy for a function. If the function does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
(locations-list$ auth parameters)
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/list
Required parameters: name
Optional parameters: filter, pageSize, pageToken
Lists information about the supported locations for this service.
https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/list Required parameters: name Optional parameters: filter, pageSize, pageToken Lists information about the supported locations for this service.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close