3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class MetadataJob.Types.ExportJobSpec.Types.ExportJobScope : IMessage<MetadataJob.Types.ExportJobSpec.Types.ExportJobScope>, IEquatable<MetadataJob.Types.ExportJobSpec.Types.ExportJobScope>, IDeepCloneable<MetadataJob.Types.ExportJobSpec.Types.ExportJobScope>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.

The scope of the export job.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> MetadataJob.Types.ExportJobSpec.Types.ExportJobScope

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[MetadataJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.md.txt)[ExportJobSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.md.txt)[ExportJobScope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MetadataJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.md.txt)[ExportJobSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.md.txt)[ExportJobScope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[MetadataJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.md.txt)[ExportJobSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.md.txt)[ExportJobScope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### ExportJobScope()

    public ExportJobScope()

### ExportJobScope(ExportJobScope)

    public ExportJobScope(MetadataJob.Types.ExportJobSpec.Types.ExportJobScope other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `MetadataJobTypesExportJobSpecTypesExportJobScope` |

## Properties

### AspectTypes

    public RepeatedField<string> AspectTypes { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### AspectTypesAsAspectTypeNames

    public ResourceNameList<AspectTypeName> AspectTypesAsAspectTypeNames { get; }

[AspectTypeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.AspectTypeName.md.txt)-typed view over the [AspectTypes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt#Google_Cloud_Dataplex_V1_MetadataJob_Types_ExportJobSpec_Types_ExportJobScope_AspectTypes) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceNameListAspectTypeName` |   |

### EntryGroups

    public RepeatedField<string> EntryGroups { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### EntryGroupsAsEntryGroupNames

    public ResourceNameList<EntryGroupName> EntryGroupsAsEntryGroupNames { get; }

[EntryGroupName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.EntryGroupName.md.txt)-typed view over the [EntryGroups](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt#Google_Cloud_Dataplex_V1_MetadataJob_Types_ExportJobSpec_Types_ExportJobScope_EntryGroups) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceNameListEntryGroupName` |   |

### EntryTypes

    public RepeatedField<string> EntryTypes { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### EntryTypesAsEntryTypeNames

    public ResourceNameList<EntryTypeName> EntryTypesAsEntryTypeNames { get; }

[EntryTypeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.EntryTypeName.md.txt)-typed view over the [EntryTypes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt#Google_Cloud_Dataplex_V1_MetadataJob_Types_ExportJobSpec_Types_ExportJobScope_EntryTypes) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceNameListEntryTypeName` |   |

### OrganizationLevel

    public bool OrganizationLevel { get; set; }

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`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Projects

    public RepeatedField<string> Projects { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### ProjectsAsProjectNames

    public ResourceNameList<ProjectName> ProjectsAsProjectNames { get; }

[ProjectName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.md.txt)-typed view over the [Projects](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.MetadataJob.Types.ExportJobSpec.Types.ExportJobScope.md.txt#Google_Cloud_Dataplex_V1_MetadataJob_Types_ExportJobSpec_Types_ExportJobScope_Projects) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceNameListProjectName` |   |