Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
A boundary on the scope of impact that the metadata import job can have.
Instance Attribute Summary collapse
-
#aspect_types ⇒ Array<String>
Optional.
-
#entry_groups ⇒ Array<String>
Required.
-
#entry_types ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
constructor
A new instance of GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
Returns a new instance of GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope.
5985 5986 5987 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aspect_types ⇒ Array<String>
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.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.
Corresponds to the JSON property aspectTypes
5963 5964 5965 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5963 def aspect_types @aspect_types end |
#entry_groups ⇒ Array<String>
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 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.
Corresponds to the JSON property entryGroups
5972 5973 5974 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5972 def entry_groups @entry_groups end |
#entry_types ⇒ Array<String>
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 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.
Corresponds to the JSON property entryTypes
5983 5984 5985 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5983 def entry_types @entry_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5990 5991 5992 5993 5994 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5990 def update!(**args) @aspect_types = args[:aspect_types] if args.key?(:aspect_types) @entry_groups = args[:entry_groups] if args.key?(:entry_groups) @entry_types = args[:entry_types] if args.key?(:entry_types) end |