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

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

The UpdateExternalApi method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ external_api Google\Cloud\ApiHub\V1\ExternalApi

Required. The External API resource to update. The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getExternalApi

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

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

hasExternalApi

clearExternalApi

setExternalApi

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

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

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

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

static::build

Parameters
Name Description
externalApi Google\Cloud\ApiHub\V1\ExternalApi

Required. The External API resource to update.

The External API resource's name field is used to identify the External API resource to update. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

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