REST Resource: projects.locations.sources

Resource: Source

Source represents an object from which asset information is streamed to Migration Center.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "displayName": string,
  "description": string,
  "type": enum (SourceType),
  "priority": integer,
  "isManaged": boolean,
  "pendingFrameCount": integer,
  "errorFrameCount": integer,
  "state": enum (State)
}
Fields
name

string

Output only. The full name of the source.

createTime

string (Timestamp format)

Output only. The timestamp when the source was created.

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. The timestamp when the source was last updated.

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".

displayName

string

User-friendly display name.

description

string

Free-text description.

type

enum (SourceType)

Data source type.

priority

integer

The information confidence of the source. The higher the value, the higher the confidence.

isManaged

boolean

If true, the source is managed by other service(s).

pendingFrameCount

integer

Output only. Number of frames that are still being processed.

errorFrameCount

integer

Output only. The number of frames that were reported by the source and contained errors.

state

enum (State)

Output only. The state of the source.

SourceType

Enums
SOURCE_TYPE_UNKNOWN Unspecified
SOURCE_TYPE_UPLOAD Manually uploaded file (e.g. CSV)
SOURCE_TYPE_GUEST_OS_SCAN Guest-level info
SOURCE_TYPE_INVENTORY_SCAN Inventory-level scan
SOURCE_TYPE_CUSTOM Third-party owned sources.

State

Enumerates possible states of a source.

Enums
STATE_UNSPECIFIED Unspecified.
ACTIVE The source is active and ready to be used.
DELETING In the process of being deleted.
INVALID Source is in an invalid state. Asset frames reported to it will be ignored.

Methods

create

Creates a new source in a given project and location.

delete

Deletes a source.

get

Gets the details of a source.

list

Lists all the sources in a given project and location.

patch

Updates the parameters of a source.