v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134415.3 KB
projects

CreateProfile creates a new profile resource in the online mode. Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection. The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named "google.rpc.retryinfo-bin".

post/v2/{+parent}/profiles

Path parameters

parentstring required

Parent project to create the profile in.

Request body

profileTypestring[]

One or more profile types that the agent is capable of providing.

Response

Successful response