Google Cloud Profiler V2 Client - Class CreateOfflineProfileRequest (2.0.4)

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

Namespace

Google \ Cloud \ Profiler \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Parent project to create the profile in.

↳ profile
Profile

Contents of the profile to create.

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

getProfile

Contents of the profile to create.

Returns
Type
Description
Profile |null

hasProfile

clearProfile

setProfile

Contents of the profile to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Parent project to create the profile in.

profile
Profile

Contents of the profile to create.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: