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 | |
---|---|
Name | Description |
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 | |
---|---|
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 |
Google\Cloud\Profiler\V2\Profile|null |
hasProfile
clearProfile
setProfile
Contents of the profile to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Profiler\V2\Profile
|
Returns | |
---|---|
Type | Description |
$this |