Class ImportJob (0.1.4)

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

A resource that represents the background job that imports asset frames.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
name str
Output only. The full name of the import job.
display_name str
User-friendly display name. Maximum length is 63 characters.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the import job was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the import job was last updated.
complete_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the import job was completed.
state google.cloud.migrationcenter_v1.types.ImportJob.ImportJobState
Output only. The state of the import job.
labels MutableMapping[str, str]
Labels as key value pairs.
asset_source str
Required. Reference to a source.
validation_report google.cloud.migrationcenter_v1.types.ValidationReport
Output only. The report with the validation results of the import job. This field is a member of oneof_ report.
execution_report google.cloud.migrationcenter_v1.types.ExecutionReport
Output only. The report with the results of running the import job. This field is a member of oneof_ report.

Classes

ImportJobState

ImportJobState(value)

Enumerates possible states of an import job.

Values: IMPORT_JOB_STATE_UNSPECIFIED (0): Default value. IMPORT_JOB_STATE_PENDING (1): The import job is pending. IMPORT_JOB_STATE_RUNNING (2): The processing of the import job is ongoing. IMPORT_JOB_STATE_COMPLETED (3): The import job processing has completed. IMPORT_JOB_STATE_FAILED (4): The import job failed to be processed. IMPORT_JOB_STATE_VALIDATING (5): The import job is being validated. IMPORT_JOB_STATE_FAILED_VALIDATION (6): The import job contains blocking errors. IMPORT_JOB_STATE_READY (7): The validation of the job completed with no blocking errors.

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.