- 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
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 |
---|
{ "startTime": string, "endTime": string, "pageSize": integer, "pageToken": string } |
Fields | |
---|---|
startTime |
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: |
endTime |
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: |
pageSize |
Optional. The maximum number of results to return. |
pageToken |
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 |
---|
{
"availableLogTypes": [
{
object ( |
Fields | |
---|---|
availableLogTypes[] |
Output only. Represents log type to the time range where this log type is available. |
nextPageToken |
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 |
---|
{ "logType": string, "startTime": string, "endTime": string } |
Fields | |
---|---|
logType |
Type of the logs. |
startTime |
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: |
endTime |
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: |