Method: logProcessingPipelines.associateStreams

Full name: projects.locations.instances.logProcessingPipelines.associateStreams

Maps a set of streams to a log processing pipeline.

HTTP request


Path parameters

Parameters
name

string

Required. The resource name of the pipeline to map the stream to. Format: projects/{project}/locations/{location}/instances/{instance}/logProcessingPipelines/{pipeline_id}

Request body

The request body contains data with the following structure:

JSON representation
{
  "streams": [
    {
      object (Stream)
    }
  ]
}
Fields
streams[]

object (Stream)

Required. The streams to map to the pipeline. The streams can be of type LogType or FeedID.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.