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: |
display |
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. |
service |
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable. |
service |
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable. |
attributes |
Optional. Consumer provided attributes. |
discovered |
Required. Immutable. The resource name of the original discovered service. |
create |
Output only. Create time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Update time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. 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. |