Google Cloud Service Directory V1 Client - Class UpdateServiceRequest (1.3.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

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\ServiceDirectory\V1\Service|null

hasService

clearService

setService

Required. The updated service.

Parameter
Name Description
var Google\Cloud\ServiceDirectory\V1\Service
Returns
Type Description
$this

getUpdateMask

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

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
service Google\Cloud\ServiceDirectory\V1\Service

Required. The updated service.

updateMask Google\Protobuf\FieldMask

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

Returns
Type Description
Google\Cloud\ServiceDirectory\V1\UpdateServiceRequest