Google Cloud Apigee Registry V1 Client - Class UpdateApiRequest (0.4.2)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class UpdateApiRequest.

Request message for UpdateApi.

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

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ api
Google\Cloud\ApigeeRegistry\V1\Api

Required. The API to update. The name field is used to identify the API to update. Format: projects/*/locations/*/apis/*

↳ update_mask
Google\Protobuf\FieldMask

The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

↳ allow_missing
bool

If set to true, and the API is not found, a new API will be created. In this situation, update_mask is ignored.

getApi

Required. The API to update.

The name field is used to identify the API to update. Format: projects/*/locations/*/apis/*

Returns
Type
Description

hasApi

clearApi

setApi

Required. The API to update.

The name field is used to identify the API to update. Format: projects/*/locations/*/apis/*

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored).

If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored).

If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

Parameter
Name
Description
Returns
Type
Description
$this

getAllowMissing

If set to true, and the API is not found, a new API will be created.

In this situation, update_mask is ignored.

Returns
Type
Description
bool

setAllowMissing

If set to true, and the API is not found, a new API will be created.

In this situation, update_mask is ignored.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

static::build

Parameters
Name
Description
api
Google\Cloud\ApigeeRegistry\V1\Api

Required. The API to update.

The name field is used to identify the API to update. Format: projects/*/locations/*/apis/*

updateMask
Google\Protobuf\FieldMask

The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

Design a Mobile Site
View Site in Mobile | Classic
Share by: