Liking cljdoc? Tell your friends :D

happygapi.cloudfunctions.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

Cloud Functions API: projects.
Manages lightweight user-provided functions executed in response to events.
See: https://cloud.google.com/functionsapi/reference/rest/v1/projects
raw docstring

locations-functions-call$clj

(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).
sourceraw docstring

locations-functions-create$clj

(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, :labels {}, :versionId string, :name string, :entryPoint string, :environmentVariables {}, :sourceUploadUrl string, :vpcConnector string, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :resource string, :service string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string}, :sourceRepository {:url string, :deployedUrl 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,
 :labels {},
 :versionId string,
 :name string,
 :entryPoint string,
 :environmentVariables {},
 :sourceUploadUrl string,
 :vpcConnector string,
 :updateTime string,
 :vpcConnectorEgressSettings string,
 :eventTrigger {:eventType string,
                :resource string,
                :service string,
                :failurePolicy FailurePolicy},
 :availableMemoryMb integer,
 :serviceAccountEmail string,
 :status string,
 :sourceArchiveUrl string,
 :runtime string,
 :network string,
 :timeout string,
 :maxInstances integer,
 :ingressSettings string,
 :httpsTrigger {:url string},
 :sourceRepository {:url string, :deployedUrl 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.
sourceraw docstring

locations-functions-delete$clj

(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.
sourceraw docstring

locations-functions-generateDownloadUrl$clj

(locations-functions-generateDownloadUrl$ auth parameters body)

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

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
sourceraw docstring

locations-functions-generateUploadUrl$clj

(locations-functions-generateUploadUrl$ auth parameters body)

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
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`
sourceraw docstring

locations-functions-get$clj

(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.
sourceraw docstring

locations-functions-getIamPolicy$clj

(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.
sourceraw docstring

locations-functions-list$clj

(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.
sourceraw docstring

locations-functions-patch$clj

(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, :labels {}, :versionId string, :name string, :entryPoint string, :environmentVariables {}, :sourceUploadUrl string, :vpcConnector string, :updateTime string, :vpcConnectorEgressSettings string, :eventTrigger {:eventType string, :resource string, :service string, :failurePolicy FailurePolicy}, :availableMemoryMb integer, :serviceAccountEmail string, :status string, :sourceArchiveUrl string, :runtime string, :network string, :timeout string, :maxInstances integer, :ingressSettings string, :httpsTrigger {:url string}, :sourceRepository {:url string, :deployedUrl 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,
 :labels {},
 :versionId string,
 :name string,
 :entryPoint string,
 :environmentVariables {},
 :sourceUploadUrl string,
 :vpcConnector string,
 :updateTime string,
 :vpcConnectorEgressSettings string,
 :eventTrigger {:eventType string,
                :resource string,
                :service string,
                :failurePolicy FailurePolicy},
 :availableMemoryMb integer,
 :serviceAccountEmail string,
 :status string,
 :sourceArchiveUrl string,
 :runtime string,
 :network string,
 :timeout string,
 :maxInstances integer,
 :ingressSettings string,
 :httpsTrigger {:url string},
 :sourceRepository {:url string, :deployedUrl string}}

Updates existing function.
sourceraw docstring

locations-functions-setIamPolicy$clj

(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 {:etag string, :version integer, :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 {:etag string,
          :version integer,
          :auditConfigs [AuditConfig],
          :bindings [Binding]},
 :updateMask string}

Sets the IAM access control policy on the specified function.
Replaces any existing policy.
sourceraw docstring

locations-functions-testIamPermissions$clj

(locations-functions-testIamPermissions$ auth parameters body)

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.

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.
sourceraw docstring

locations-list$clj

(locations-list$ auth parameters)

https://cloud.google.com/functionsapi/reference/rest/v1/projects/locations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

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: pageToken, pageSize, filter

Lists information about the supported locations for this service.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close