Close httplib2 connections.
create(parent, body=None, findingId=None, x__xgafv=None)
group(parent, body=None, x__xgafv=None)
Retrieves the next page of results.
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
setState(name, body=None, x__xgafv=None)
updateSecurityMarks(name, body=None, startTime=None, updateMask=None, x__xgafv=None)
close()
Close httplib2 connections.
create(parent, body=None, findingId=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
}
findingId: string, A parameter
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
}
group(parent, body=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"filter": "A String",
"groupBy": "A String",
"pageSize": 42,
"pageToken": "A String",
"readTime": "A String",
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"groupByResults": [
{
"count": "A String",
"properties": {
"a_key": "",
},
},
],
"nextPageToken": "A String",
"readTime": "A String",
}
group_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
list(parent, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, readTime=None, x__xgafv=None)
Args:
parent: string, A parameter (required)
fieldMask: string, A parameter
filter: string, A parameter
orderBy: string, A parameter
pageSize: integer, A parameter
pageToken: string, A parameter
readTime: string, A parameter
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"findings": [
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
},
],
"nextPageToken": "A String",
"readTime": "A String",
"totalSize": 42,
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
patch(name, body=None, updateMask=None, x__xgafv=None)
Args:
name: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
}
updateMask: string, A parameter
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
}
setState(name, body=None, x__xgafv=None)
Args:
name: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"startTime": "A String",
"state": "A String",
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"category": "A String",
"createTime": "A String",
"eventTime": "A String",
"externalUri": "A String",
"name": "A String",
"parent": "A String",
"resourceName": "A String",
"securityMarks": {
"marks": {
"a_key": "A String",
},
"name": "A String",
},
"sourceProperties": {
"a_key": "",
},
"state": "A String",
}
updateSecurityMarks(name, body=None, startTime=None, updateMask=None, x__xgafv=None)
Args:
name: string, A parameter (required)
body: object, The request body.
The object takes the form of:
{
"marks": {
"a_key": "A String",
},
"name": "A String",
}
startTime: string, A parameter
updateMask: string, A parameter
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"marks": {
"a_key": "A String",
},
"name": "A String",
}