GoogleCloudApihubV1ApiOperation
import type { GoogleCloudApihubV1ApiOperation } from "https://googleapis.deno.dev/v1/apihub:v1.ts";
Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API.
§Properties
Optional. The list of user defined attributes associated with the API
operation 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.
Optional. Operation details. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
Identifier. The name of the operation. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
Output only. The list of sources and metadata from the sources of the API operation.