Method: projects.profiles.createOffline

profiles.createOffline creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it.

Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection.

HTTP request

POST https://cloudprofiler.googleapis.com/v2/{parent=projects/*}/profiles:createOffline

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent project to create the profile in. It takes the form projects/{project} .

Authorization requires the following IAM permission on the specified resource parent :

  • cloudprofiler.profiles.create

Request body

The request body contains an instance of Profile .

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: