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.