Google Cloud Api Hub V1 Client - Class UpdateStyleGuideRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class UpdateStyleGuideRequest.

The UpdateStyleGuide method's request.

Generated from protobuf message google.cloud.apihub.v1.UpdateStyleGuideRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ style_guide Google\Cloud\ApiHub\V1\StyleGuide

Required. The Style guide resource to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getStyleGuide

Required. The Style guide resource to update.

Returns
Type Description
Google\Cloud\ApiHub\V1\StyleGuide|null

hasStyleGuide

clearStyleGuide

setStyleGuide

Required. The Style guide resource to update.

Parameter
Name Description
var Google\Cloud\ApiHub\V1\StyleGuide
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
styleGuide Google\Cloud\ApiHub\V1\StyleGuide

Required. The Style guide resource to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
Google\Cloud\ApiHub\V1\UpdateStyleGuideRequest