Google Cloud Profiler V2 Client - Class CreateProfileRequest (1.0.3)

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

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description
string

setParent

Parent project to create the profile in.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDeployment

Deployment details.

Returns
Type
Description

hasDeployment

clearDeployment

setDeployment

Deployment details.

Parameter
Name
Description
Returns
Type
Description
$this

getProfileType

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

Returns
Type
Description

setProfileType

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

Parameter
Name
Description
var
int[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: