REST Resource: projects.locations.applications.services

Resource: Service

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

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "serviceReference": {
    object (ServiceReference)
  },
  "serviceProperties": {
    object (ServiceProperties)
  },
  "attributes": {
    object (Attributes)
  },
  "discoveredService": string,
  "createTime": string,
  "updateTime": string,
  "uid": string,
  "state": enum (State)
}
Fields
name

string

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

displayName

string

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

description

string

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

serviceReference

object (ServiceReference)

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

serviceProperties

object (ServiceProperties)

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

attributes

object (Attributes)

Optional. Consumer provided attributes.

discoveredService

string

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

createTime

string (Timestamp format)

Output only. Create time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Update time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

uid

string

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

state

enum (State)

Output only. Service state.

State

Service state.

Enums
STATE_UNSPECIFIED Unspecified state.
CREATING The service is being created.
ACTIVE The service is ready.
DELETING The service is being deleted.
DETACHED The underlying networking resources have been deleted.

Methods

create

Creates a Service in an Application.

delete

Deletes a Service from an Application.

get

Gets a Service in an Application.

list

Lists Services in an Application.

patch

Updates a Service in an Application.