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

Service

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

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

interface Service {
attributes?: Attributes;
readonly createTime?: Date;
description?: string;
discoveredService?: string;
displayName?: string;
name?: string;
readonly serviceProperties?: ServiceProperties;
readonly serviceReference?: ServiceReference;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "DELETING"
| "DETACHED";
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
attributes?: Attributes
[src]

Optional. Consumer provided attributes.

§
readonly createTime?: Date
[src]

Output only. Create time.

§
description?: string
[src]

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

§
discoveredService?: string
[src]

Required. Immutable. The resource name of the original discovered service.

§
displayName?: string
[src]

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

§
name?: string
[src]

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

§
readonly serviceProperties?: ServiceProperties
[src]

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

§
readonly serviceReference?: ServiceReference
[src]

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "DELETING" | "DETACHED"
[src]

Output only. Service state.

§
readonly uid?: string
[src]

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

§
readonly updateTime?: Date
[src]

Output only. Update time.