- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- AvailableLogType
- Try it!
Full name: projects.locations.instances.dataExports.fetchavailablelogtypes
Fetches available log types for export.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}/dataExports:fetchavailablelogtypes
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource for which log type details are to be fetched. Format: projects/{project}/locations/{region}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "start_time": string, "end_time": string, "page_size": integer, "page_token": string } |
Fields | |
---|---|
start_ |
Required. Start, inclusive time from the range. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
end_ |
Required. Last, exclusive time from the range. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
page_ |
Optional. The maximum number of results to return. |
page_ |
Optional. A page token to retrieve the subsequent page. |
Response body
Response message for ListAvailableLogTypes.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"available_log_types": [
{
object ( |
Fields | |
---|---|
available_ |
Output only. Represents log type to the time range where this log type is available. |
next_ |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
chronicle.dataExports.fetchLogTypesAvailableForExport
For more information, see the IAM documentation.
AvailableLogType
Represents information about an available log type.
JSON representation |
---|
{ "log_type": string, "start_time": string, "end_time": string } |
Fields | |
---|---|
log_ |
Type of the logs. |
start_ |
Start, inclusive time from the range. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
end_ |
Last, exclusive time from the range. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |