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