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

GoogleCloudApihubV1Version

import type { GoogleCloudApihubV1Version } from "https://googleapis.deno.dev/v1/apihub:v1.ts";

Represents a version of the API resource in API hub. This is also referred to as the API version.

interface GoogleCloudApihubV1Version {
readonly apiOperations?: string[];
attributes?: {};
readonly createTime?: Date;
readonly definitions?: string[];
deployments?: string[];
description?: string;
displayName?: string;
name?: string;
selectedDeployment?: string;
readonly sourceMetadata?: GoogleCloudApihubV1SourceMetadata[];
readonly specs?: string[];
readonly updateTime?: Date;
}

§Properties

§

Optional. The accreditations associated with the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-accreditation attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.

§
readonly apiOperations?: string[]
[src]

Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}

§
attributes?: {}
[src]

Optional. The list of user defined attributes associated with the Version 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. The compliance associated with the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-compliance attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.

§
readonly createTime?: Date
[src]

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

§
readonly definitions?: string[]
[src]

Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}

§
deployments?: string[]
[src]

Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is projects/{project}/locations/{location}/deployments/{deployment}

§
description?: string
[src]

Optional. The description of the version.

§
displayName?: string
[src]

Required. The display name of the version.

§

Optional. The documentation of the version.

§

Optional. The lifecycle of the API version. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-lifecycle attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.

§
name?: string
[src]

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

§
selectedDeployment?: string
[src]

Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is projects/{project}/locations/{location}/deployments/{deployment}

§
readonly sourceMetadata?: GoogleCloudApihubV1SourceMetadata[]
[src]

Output only. The list of sources and metadata from the sources of the version.

§
readonly specs?: string[]
[src]

Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

§
readonly updateTime?: Date
[src]

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