Method: organizations.environments.subscribe

Creates a subscription for the environment's Pub/Sub topic. The server will assign a random name for this subscription. The "name" and "push_config" must not be specified.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Name of the environment. Use the following structure in your request: organizations/{org}/environments/{env}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Subscription.

Authorization Scopes

Requires the following OAuth scope: