Method: logTypes.list

Full name: projects.locations.instances.logTypes.list

Lists all LogTypes.

HTTP request

GET https://chronicle.googleapis.com/v1alpha/{parent}/logTypes

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of log types. Format: projects/{project}/locations/{region}/instances/{instance}

Query parameters

Parameters
pageSize

integer

The maximum number of log types to return. The service may return fewer than this value.

pageToken

string

A page token, received from a previous ListLogTypes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListLogTypes must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Response message for listing log types.

If successful, the response body contains data with the following structure:

JSON representation
{
  "log_types": [
    {
      object (LogType)
    }
  ],
  "next_page_token": string
}
Fields
log_types[]

object (LogType)

The log types from the specified chronicle instance.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.