feeds
Creates, updates, deletes, gets or lists a feeds
resource.
Overview
Name | feeds |
Type | Resource |
Id | google.cloudasset.feeds |
Fields
Name | Datatype | Description |
---|---|---|
feeds | array | A list of feeds. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | parent, parentType | Lists all asset feeds in a parent project/folder/organization. |
create | INSERT | parent, parentType | Creates a feed in a parent project/folder/organization to listen to its asset updates. |
SELECT
examples
Lists all asset feeds in a parent project/folder/organization.
SELECT
feeds
FROM google.cloudasset.feeds
WHERE parent = '{{ parent }}'
AND parentType = '{{ parentType }}';
INSERT
example
Use the following StackQL query and manifest file to create a new feeds
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.cloudasset.feeds (
parent,
parentType,
feedId,
feed
)
SELECT
'{{ parent }}',
'{{ parentType }}',
'{{ feedId }}',
'{{ feed }}'
;
- name: your_resource_model_name
props:
- name: feedId
value: string
- name: feed
value:
- name: name
value: string
- name: assetNames
value:
- string
- name: assetTypes
value:
- string
- name: contentType
value: string
- name: feedOutputConfig
value:
- name: pubsubDestination
value:
- name: topic
value: string
- name: condition
value:
- name: expression
value: string
- name: title
value: string
- name: description
value: string
- name: location
value: string
- name: relationshipTypes
value:
- string