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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ api |
Google\Cloud\ApiHub\V1\Api
Required. The API resource to update. The API resource's |
↳ 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 |
Google\Cloud\ApiHub\V1\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 |
Google\Cloud\ApiHub\V1\Api
|
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 |
api |
Google\Cloud\ApiHub\V1\Api
Required. The API resource to update. The API resource's |
updateMask |
Google\Protobuf\FieldMask
Required. The list of fields to update. |
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\UpdateApiRequest |