Class Source (0.1.6)

Source(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
Output only. The full name of the source.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the source was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the source was last updated.
display_name str
User-friendly display name.
description str
Free-text description.
type_ google.cloud.migrationcenter_v1.types.Source.SourceType
Data source type.
priority int
The information confidence of the source. The higher the value, the higher the confidence.
managed bool
If true, the source is managed by other service(s).
pending_frame_count int
Output only. Number of frames that are still being processed.
error_frame_count int
Output only. The number of frames that were reported by the source and contained errors.
state google.cloud.migrationcenter_v1.types.Source.State
Output only. The state of the source.

Classes

SourceType

SourceType(value)

Values: SOURCE_TYPE_UNKNOWN (0): Unspecified SOURCE_TYPE_UPLOAD (1): Manually uploaded file (e.g. CSV) SOURCE_TYPE_GUEST_OS_SCAN (2): Guest-level info SOURCE_TYPE_INVENTORY_SCAN (3): Inventory-level scan SOURCE_TYPE_CUSTOM (4): Third-party owned sources.

State

State(value)

Enumerates possible states of a source.

Values: STATE_UNSPECIFIED (0): Unspecified. ACTIVE (1): The source is active and ready to be used. DELETING (2): In the process of being deleted. INVALID (3): Source is in an invalid state. Asset frames reported to it will be ignored.