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 |
Parent project to create the profile in. It takes the form Authorization requires the following IAM permission on the specified resource
|
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/monitoringhttps://www.googleapis.com/auth/monitoring.writehttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.