- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.integrations.connectors.connectorInstances.setLogsCollection
Set the logs collection for a connector.
HTTP request
Path parameters
| Parameters | |
|---|---|
name |
Required. The connector instance identifier (from route) |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "enabled": boolean } |
| Fields | |
|---|---|
enabled |
Required. Whether logs collection is enabled for the connector instance. |
Response body
Response for connectorInstances.setLogsCollection.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "logEnableExpirationTime": string } |
| Fields | |
|---|---|
logEnableExpirationTime |
Output only. The connector instance logging enabled time until unix ms |
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 name resource:
chronicle.connectorInstances.get
For more information, see the IAM documentation.