Google Cloud Profiler V2 Client - Class CreateOfflineProfileRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Profiler V2 Client class CreateOfflineProfileRequest.

CreateOfflineProfileRequest describes a profile resource offline creation request.

Generated from protobuf message google.devtools.cloudprofiler.v2.CreateOfflineProfileRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Parent project to create the profile in.

↳ profile Google\Cloud\Profiler\V2\Profile

Contents of the profile to create.

getParent

Parent project to create the profile in.

Returns
TypeDescription
string

setParent

Parent project to create the profile in.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProfile

Contents of the profile to create.

Returns
TypeDescription
Google\Cloud\Profiler\V2\Profile|null

hasProfile

clearProfile

setProfile

Contents of the profile to create.

Parameter
NameDescription
var Google\Cloud\Profiler\V2\Profile
Returns
TypeDescription
$this