Google Cloud Service Directory V1 Client - Class UpdateServiceRequest (1.0.5)

Reference documentation and code samples for the Google Cloud Service Directory V1 Client class UpdateServiceRequest.

The request message for RegistrationService.UpdateService.

Generated from protobuf message google.cloud.servicedirectory.v1.UpdateServiceRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service Google\Cloud\ServiceDirectory\V1\Service

Required. The updated service.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields to be updated in this request.

getService

Required. The updated service.

Returns
TypeDescription
Google\Cloud\ServiceDirectory\V1\Service|null

hasService

clearService

setService

Required. The updated service.

Parameter
NameDescription
var Google\Cloud\ServiceDirectory\V1\Service
Returns
TypeDescription
$this

getUpdateMask

Required. List of fields to be updated in this request.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields to be updated in this request.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this