The interfaces provided are listed below, along with usage samples.
ProfilerServiceClient
Service Description: Manage the collection of continuous profiling data provided by profiling
agents running in the cloud or by an offline provider of profiling data.
General guidelines:
Profiles for a single deployment must be created in ascending time order.
Profiles can be created in either online or offline mode, see below.
Sample for ProfilerServiceClient:
// This snippet has been automatically generated for illustrative purposes only.// It may require modifications to work in your environment.try(ProfilerServiceClientprofilerServiceClient=ProfilerServiceClient.create()){CreateProfileRequestrequest=CreateProfileRequest.newBuilder().setParent("parent-995424086").setDeployment(Deployment.newBuilder().build()).addAllProfileType(newArrayList<ProfileType>()).build();Profileresponse=profilerServiceClient.createProfile(request);}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]