Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

interface GoogleCloudApihubV1ApiOperation {
attributes?: {};
readonly createTime?: Date;
name?: string;
readonly sourceMetadata?: GoogleCloudApihubV1SourceMetadata[];
readonly spec?: string;
readonly updateTime?: Date;
}

§Properties

§
attributes?: {}
[src]

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.

§
readonly createTime?: Date
[src]

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

§

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.

§
name?: string
[src]

Identifier. The name of the operation. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}

§
readonly sourceMetadata?: GoogleCloudApihubV1SourceMetadata[]
[src]

Output only. The list of sources and metadata from the sources of the API operation.

§
readonly spec?: string
[src]

Output only. The name of the spec will be of the format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec} Note:The name of the spec will be empty if the operation is created via CreateApiOperation API.

§
readonly updateTime?: Date
[src]

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