Google Cloud Profiler V2 Client - Class UpdateProfileRequest (1.0.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ profile Google\Cloud\Profiler\V2\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
TypeDescription
Google\Cloud\Profiler\V2\Profile|null

hasProfile

clearProfile

setProfile

Profile to update

Parameter
NameDescription
var Google\Cloud\Profiler\V2\Profile
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this