v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1351142229.7 KB
projects

Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated: * description

patch/v1/{+name}

Path parameters

namestring required

Identifier. The name of the dependency in the API Hub. Format: projects/{project}/locations/{location}/dependencies/{dependency}

Query parameters

updateMaskstring

Required. The list of fields to update.

Request body

discoveryMode'DISCOVERY_MODE_UNSPECIFIED' | 'MANUAL'

Output only. Discovery mode of the dependency.

state'STATE_UNSPECIFIED' | 'PROPOSED' | 'VALIDATED'

Output only. State of the dependency.

namestring

Identifier. The name of the dependency in the API Hub. Format: projects/{project}/locations/{location}/dependencies/{dependency}

attributesobject

Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.

descriptionstring

Optional. Human readable description corresponding of the dependency.

createTimestring google-datetime

Output only. The time at which the dependency was created.

updateTimestring google-datetime

Output only. The time at which the dependency was last updated.

Response

Successful response