Google Cloud Api Gateway V1 Client - Class UpdateGatewayRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class UpdateGatewayRequest.

Request message for ApiGatewayService.UpdateGateway

Generated from protobuf message google.cloud.apigateway.v1.UpdateGatewayRequest

Namespace

Google \ Cloud \ ApiGateway \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ gateway Google\Cloud\ApiGateway\V1\Gateway

Required. Gateway resource.

getUpdateMask

Field mask is used to specify the fields to be overwritten in the Gateway resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Field mask is used to specify the fields to be overwritten in the Gateway resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getGateway

Required. Gateway resource.

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\Gateway|null

hasGateway

clearGateway

setGateway

Required. Gateway resource.

Parameter
NameDescription
var Google\Cloud\ApiGateway\V1\Gateway
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
gateway Google\Cloud\ApiGateway\V1\Gateway

Required. Gateway resource.

updateMask Google\Protobuf\FieldMask

Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\UpdateGatewayRequest