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 ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of a Service. Format: |
displayName |
Optional. User-defined name for the Service. Can have a maximum length of 63 characters. |
description |
Optional. User-defined description of a Service. Can have a maximum length of 2048 characters. |
serviceReference |
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable. |
serviceProperties |
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable. |
attributes |
Optional. Consumer provided attributes. |
discoveredService |
Required. Immutable. The resource name of the original discovered service. |
createTime |
Output only. Create time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
uid |
Output only. A universally unique identifier (UUID) for the |
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 |
|
|---|---|
|
Creates a Service in an Application. |
|
Deletes a Service from an Application. |
|
Gets a Service in an Application. |
|
Lists Services in an Application. |
|
Updates a Service in an Application. |