v1

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

Create a dependency between two entities in the API hub.

post/v1/{+parent}/dependencies

Path parameters

parentstring required

Required. The parent resource for the dependency resource. Format: projects/{project}/locations/{location}

Query parameters

dependencyIdstring

Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if duplicate id is provided by the client. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are a-z[0-9]-_.

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