Google Cloud Dataplex V1 Client - Class ExportJobScope (1.6.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class ExportJobScope.

The scope of the export job.

Generated from protobuf message google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope

Namespace

Google \ Cloud \ Dataplex \ V1 \ MetadataJob \ ExportJobSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ organization_level bool

Whether the metadata export job is an organization-level export job. - If true, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups. - If false, you must specify a list of projects or a list of entry groups whose entries you want to export. The default is false.

↳ projects array

The projects whose metadata you want to export, in the format projects/{project_id_or_number}. Only the entries from the specified projects are exported. The projects must be in the same organization and VPC Service Controls perimeter as the job. If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.

↳ entry_groups array

The entry groups whose metadata you want to export, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. Only the entries in the specified entry groups are exported. The entry groups must be in the same location and the same VPC Service Controls perimeter as the job. If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.

↳ entry_types array

The entry types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are affected by the job.

↳ aspect_types array

The aspect types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}. Only aspects that belong to the specified aspect types are affected by the job.

getOrganizationLevel

Whether the metadata export job is an organization-level export job.

  • If true, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups.
  • If false, you must specify a list of projects or a list of entry groups whose entries you want to export. The default is false.
Returns
Type Description
bool

setOrganizationLevel

Whether the metadata export job is an organization-level export job.

  • If true, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups.
  • If false, you must specify a list of projects or a list of entry groups whose entries you want to export. The default is false.
Parameter
Name Description
var bool
Returns
Type Description
$this

getProjects

The projects whose metadata you want to export, in the format projects/{project_id_or_number}. Only the entries from the specified projects are exported.

The projects must be in the same organization and VPC Service Controls perimeter as the job. If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProjects

The projects whose metadata you want to export, in the format projects/{project_id_or_number}. Only the entries from the specified projects are exported.

The projects must be in the same organization and VPC Service Controls perimeter as the job. If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getEntryGroups

The entry groups whose metadata you want to export, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.

Only the entries in the specified entry groups are exported. The entry groups must be in the same location and the same VPC Service Controls perimeter as the job. If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEntryGroups

The entry groups whose metadata you want to export, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.

Only the entries in the specified entry groups are exported. The entry groups must be in the same location and the same VPC Service Controls perimeter as the job. If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getEntryTypes

The entry types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.

Only entries that belong to the specified entry types are affected by the job.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEntryTypes

The entry types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.

Only entries that belong to the specified entry types are affected by the job.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getAspectTypes

The aspect types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.

Only aspects that belong to the specified aspect types are affected by the job.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAspectTypes

The aspect types that are in scope for the export job, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.

Only aspects that belong to the specified aspect types are affected by the job.

Parameter
Name Description
var string[]
Returns
Type Description
$this