Reference documentation and code samples for the Google Cloud Profiler V2 Client class CreateProfileRequest.
CreateProfileRequest describes a profile resource online creation request.
The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.
Generated from protobuf message google.devtools.cloudprofiler.v2.CreateProfileRequest
Namespace
Google \ Cloud \ Profiler \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Parent project to create the profile in.
↳ deployment
↳ profile_type
array
One or more profile types that the agent is capable of providing.
getParent
Parent project to create the profile in.
string
setParent
Parent project to create the profile in.
var
string
$this
getDeployment
Deployment details.
hasDeployment
clearDeployment
setDeployment
Deployment details.
$this
getProfileType
One or more profile types that the agent is capable of providing.
setProfileType
One or more profile types that the agent is capable of providing.
var
int[]
$this