Google Cloud Api Hub V1 Client - Class UpdateApiRequest (0.1.4)

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

The UpdateApi method's request.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ api
Api

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

↳ update_mask
Google\Protobuf\FieldMask

Required. The list of fields to update.

getApi

Required. The API resource to update.

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

Returns
Type
Description
Api |null

hasApi

clearApi

setApi

Required. The API resource to update.

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

Parameter
Name
Description
var
Api
Returns
Type
Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
api
Api

Required. The API resource to update.

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

updateMask
Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: