cloud_functions
Creates, updates, deletes, gets or lists a cloud_functions
resource.
Overview
Name | cloud_functions |
Type | Resource |
Id | google.integrations.cloud_functions |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_products_cloud_functions_create | insert | projectsId , locationsId , productsId | Creates a cloud function project. | |
projects_locations_cloud_functions_create | insert | projectsId , locationsId | Creates a cloud function project. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
productsId | string | |
projectsId | string |
INSERT
examples
- projects_locations_products_cloud_functions_create
- projects_locations_cloud_functions_create
- Manifest
Creates a cloud function project.
INSERT INTO google.integrations.cloud_functions (
data__projectId,
data__functionName,
data__functionRegion,
data__gcfApiVersion,
projectsId,
locationsId,
productsId
)
SELECT
'{{ projectId }}',
'{{ functionName }}',
'{{ functionRegion }}',
'{{ gcfApiVersion }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ productsId }}'
RETURNING
triggerUrl
;
Creates a cloud function project.
INSERT INTO google.integrations.cloud_functions (
data__projectId,
data__functionName,
data__functionRegion,
data__gcfApiVersion,
projectsId,
locationsId
)
SELECT
'{{ projectId }}',
'{{ functionName }}',
'{{ functionRegion }}',
'{{ gcfApiVersion }}',
'{{ projectsId }}',
'{{ locationsId }}'
RETURNING
triggerUrl
;
# Description fields are for documentation purposes
- name: cloud_functions
props:
- name: projectsId
value: string
description: Required parameter for the cloud_functions resource.
- name: locationsId
value: string
description: Required parameter for the cloud_functions resource.
- name: productsId
value: string
description: Required parameter for the cloud_functions resource.
- name: projectId
value: string
description: >
Indicates the id of the GCP project that the function will be created in.
- name: functionName
value: string
description: >
The function name of CF to be created
- name: functionRegion
value: string
description: >
The function region of CF to be created
- name: gcfApiVersion
value: string
description: >
Optional. The api version of CF to be created
valid_values: ['GCF_API_VERSION_UNSPECIFIED', 'API_VERSION_V1', 'API_VERSION_V2']