Resource: DiscoveryClient
Represents an installed Migration Center Discovery Client instance.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "source": string, "serviceAccount": string, "signalsEndpoint": string, "displayName": string, "description": string, "labels": { string: string, ... }, "state": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. Full name of this discovery client. |
create |
Output only. Time when the discovery client was first created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
source |
Required. Full name of the source object associated with this discovery client. |
service |
Required. Service account used by the discovery client for various operation. |
signals |
Output only. This field is intended for internal use. |
display |
Optional. Free text display name. Maximum length is 63 characters. |
description |
Optional. Free text description. Maximum length is 1000 characters. |
labels |
Optional. Labels as key value pairs. An object containing a list of |
state |
Output only. Current state of the discovery client. |
version |
Output only. Client version, as reported in recent heartbeat. |
errors[] |
Output only. Errors affecting client functionality. |
heartbeat |
Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field
|
|
expire |
Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ttl |
Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the A duration in seconds with up to nine fractional digits, ending with ' |
State
Discovery client states.
Enums | |
---|---|
STATE_UNSPECIFIED |
Client state is unspecified. |
ACTIVE |
Client is active. |
OFFLINE |
Client is offline. |
DEGRADED |
Client is in a degraded state. See the errors field for details. |
EXPIRED |
Client has expired. See the expireTime field for the expire time. |
Methods |
|
---|---|
|
Creates a new discovery client. |
|
Deletes a discovery client. |
|
Gets the details of a discovery client. |
|
Lists all the discovery clients in a given project and location. |
|
Updates a discovery client. |
|
Sends a discovery client heartbeat. |