A boundary on the scope of impact that the metadata import job can have.
Fields
entry_groups
Required. The entry group that is in scope for the import job,
specified as a relative resource name in the format
projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}.
Only entries and aspects that belong to the specified entry group are
affected by the job.
Must contain exactly one element. The entry group and the job must be in the same location.
entry_types
Required. The entry types that are in scope for the import job,
specified as relative resource names in the format
projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}.
The job modifies only the entries and aspects that belong to these
entry types.
If the metadata import file attempts to modify an entry whose type isn't included in this list, the import job is halted before modifying any entries or aspects.
The location of an entry type must either match the location of the job, or the entry type must be global.
aspect_types
Optional. The aspect types that are in scope for the import job,
specified as relative resource names in the format
projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}.
The job modifies only the aspects that belong to these aspect types.
This field is required when creating an aspect-only import job.
If the metadata import file attempts to modify an aspect whose type isn't included in this list, the import job is halted before modifying any entries or aspects.
The location of an aspect type must either match the location of the job, or the aspect type must be global.
Implementations
new
fn new() -> Self
set_entry_groups
fn set_entry_groups<T, V>(self, v: T) -> Self
where
T: std::iter::IntoIterator,
V: std::convert::Into<std::string::String>,
Sets the value of [entry_groups][crate::model::metadata_job::import_job_spec::ImportJobScope::entry_groups].
set_entry_types
fn set_entry_types<T, V>(self, v: T) -> Self
where
T: std::iter::IntoIterator,
V: std::convert::Into<std::string::String>,
Sets the value of [entry_types][crate::model::metadata_job::import_job_spec::ImportJobScope::entry_types].
set_aspect_types
fn set_aspect_types<T, V>(self, v: T) -> Self
where
T: std::iter::IntoIterator,
V: std::convert::Into<std::string::String>,
Sets the value of [aspect_types][crate::model::metadata_job::import_job_spec::ImportJobScope::aspect_types].