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
array
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
array
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.
getEntryGroups
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.
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.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getEntryTypes
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.
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.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getAspectTypes
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Dataplex V1 Client - Class ImportJobScope (1.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.1 (latest)](/php/docs/reference/cloud-dataplex/latest/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.7.0](/php/docs/reference/cloud-dataplex/1.7.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.6.1](/php/docs/reference/cloud-dataplex/1.6.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.4.0](/php/docs/reference/cloud-dataplex/1.4.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.3.0](/php/docs/reference/cloud-dataplex/1.3.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.2.1](/php/docs/reference/cloud-dataplex/1.2.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.1.1](/php/docs/reference/cloud-dataplex/1.1.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [1.0.1](/php/docs/reference/cloud-dataplex/1.0.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.16.1](/php/docs/reference/cloud-dataplex/0.16.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.15.1](/php/docs/reference/cloud-dataplex/0.15.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.14.0](/php/docs/reference/cloud-dataplex/0.14.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.13.0](/php/docs/reference/cloud-dataplex/0.13.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.12.0](/php/docs/reference/cloud-dataplex/0.12.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.11.1](/php/docs/reference/cloud-dataplex/0.11.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.10.0](/php/docs/reference/cloud-dataplex/0.10.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.9.0](/php/docs/reference/cloud-dataplex/0.9.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.8.0](/php/docs/reference/cloud-dataplex/0.8.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.7.0](/php/docs/reference/cloud-dataplex/0.7.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.6.0](/php/docs/reference/cloud-dataplex/0.6.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.5.1](/php/docs/reference/cloud-dataplex/0.5.1/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.4.0](/php/docs/reference/cloud-dataplex/0.4.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.3.0](/php/docs/reference/cloud-dataplex/0.3.0/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.2.3](/php/docs/reference/cloud-dataplex/0.2.3/V1.MetadataJob.ImportJobSpec.ImportJobScope)\n- [0.1.6](/php/docs/reference/cloud-dataplex/0.1.6/V1.MetadataJob.ImportJobSpec.ImportJobScope) \nReference documentation and code samples for the Google Cloud Dataplex V1 Client class ImportJobScope.\n\nA boundary on the scope of impact that the metadata import job can have.\n\nGenerated from protobuf message `google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataplex \\\\ V1 \\\\ MetadataJob \\\\ ImportJobSpec\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEntryGroups\n\nRequired. The entry group that is in scope for the import job,\nspecified as a relative resource name in the format\n`projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.\n\nOnly entries and aspects that belong to the specified entry group are\naffected by the job.\nMust contain exactly one element. The entry group and the job\nmust be in the same location.\n\n### setEntryGroups\n\nRequired. The entry group that is in scope for the import job,\nspecified as a relative resource name in the format\n`projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.\n\nOnly entries and aspects that belong to the specified entry group are\naffected by the job.\nMust contain exactly one element. The entry group and the job\nmust be in the same location.\n\n### getEntryTypes\n\nRequired. The entry types that are in scope for the import job,\nspecified as relative resource names in the format\n`projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.\n\nThe job modifies only the entries and aspects that belong to these\nentry types.\nIf the metadata import file attempts to modify an entry whose type\nisn't included in this list, the import job is halted before modifying\nany entries or aspects.\nThe location of an entry type must either match the location of the\njob, or the entry type must be global.\n\n### setEntryTypes\n\nRequired. The entry types that are in scope for the import job,\nspecified as relative resource names in the format\n`projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.\n\nThe job modifies only the entries and aspects that belong to these\nentry types.\nIf the metadata import file attempts to modify an entry whose type\nisn't included in this list, the import job is halted before modifying\nany entries or aspects.\nThe location of an entry type must either match the location of the\njob, or the entry type must be global.\n\n### getAspectTypes\n\nOptional. The aspect types that are in scope for the import job,\nspecified as relative resource names in the format\n`projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.\n\nThe job modifies only the aspects that belong to these aspect types.\nThis field is required when creating an aspect-only import job.\nIf the metadata import file attempts to modify an aspect whose type\nisn't included in this list, the import job is halted before modifying\nany entries or aspects.\nThe location of an aspect type must either match the location of the\njob, or the aspect type must be global.\n\n### setAspectTypes\n\nOptional. The aspect types that are in scope for the import job,\nspecified as relative resource names in the format\n`projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.\n\nThe job modifies only the aspects that belong to these aspect types.\nThis field is required when creating an aspect-only import job.\nIf the metadata import file attempts to modify an aspect whose type\nisn't included in this list, the import job is halted before modifying\nany entries or aspects.\nThe location of an aspect type must either match the location of the\njob, or the aspect type must be global."]]