Google Cloud Profiler V2 Client - Class UpdateProfileRequest (2.0.4)

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 \ V2

Methods

__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
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

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
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: