Reference documentation and code samples for the Google Cloud Profiler V2 Client class UpdateProfileRequest.
UpdateProfileRequest contains the profile to update.
Generated from protobuf message google.devtools.cloudprofiler.v2.UpdateProfileRequest
Namespace
Google \ Cloud \ Profiler \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ profile |
Profile
Profile to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten. |
getProfile
Profile to update.
| Returns | |
|---|---|
| Type | Description |
Profile|null |
|
hasProfile
clearProfile
setProfile
Profile to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Profile
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
profile |
Profile
Profile to update. |
updateMask |
Google\Protobuf\FieldMask
Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdateProfileRequest |
|