Skip to content

Commit 5f657a8

Browse files
feat: Automated regeneration of Dataplex client (googleapis#12905)
Auto-created at 2025-01-31 13:16:27 +0000 using the toys pull request generator.
1 parent c6c2227 commit 5f657a8

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

clients/dataplex/lib/google_api/dataplex/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Dataplex.V1 do
2020
API client metadata for GoogleApi.Dataplex.V1.
2121
"""
2222

23-
@discovery_revision "20250116"
23+
@discovery_revision "20250129"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/dataplex/lib/google_api/dataplex/v1/model/google_cloud_dataplex_v1_import_item.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1ImportItem do
2121
2222
## Attributes
2323
24-
* `aspectKeys` (*type:* `list(String.t)`, *default:* `nil`) - The aspects to modify. Supports the following syntaxes: {aspect_type_reference}: matches aspects that belong to the specified aspect type and are attached directly to the entry. {aspect_type_reference}@{path}: matches aspects that belong to the specified aspect type and path. @* : matches aspects of the given type for all paths. *@path : matches aspects of all types on the given path. Replace {aspect_type_reference} with a reference to the aspect type, in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this field empty, it is treated as specifying exactly those aspects that are present within the specified entry.In FULL entry sync mode, Dataplex implicitly adds the keys for all of the required aspects of an entry.
24+
* `aspectKeys` (*type:* `list(String.t)`, *default:* `nil`) - The aspects to modify. Supports the following syntaxes: {aspect_type_reference}: matches aspects that belong to the specified aspect type and are attached directly to the entry. {aspect_type_reference}@{path}: matches aspects that belong to the specified aspect type and path. {aspect_type_reference}@* : matches aspects of the given type for all paths. *@path : matches aspects of all types on the given path.Replace {aspect_type_reference} with a reference to the aspect type, in the format {project_id_or_number}.{location_id}.{aspect_type_id}.In FULL entry sync mode, if you leave this field empty, it is treated as specifying exactly those aspects that are present within the specified entry. Dataplex implicitly adds the keys for all of the required aspects of an entry.
2525
* `entry` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Entry.t`, *default:* `nil`) - Information about an entry and its attached aspects.
26-
* `updateMask` (*type:* `String.t`, *default:* `nil`) - The fields to update, in paths that are relative to the Entry resource. Separate each field with a comma.In FULL entry sync mode, Dataplex includes the paths of all of the fields for an entry that can be modified, including aspects. This means that Dataplex replaces the existing entry with the entry in the metadata import file. All modifiable fields are updated, regardless of the fields that are listed in the update mask, and regardless of whether a field is present in the entry object.The update_mask field is ignored when an entry is created or re-created.Dataplex also determines which entries and aspects to modify by comparing the values and timestamps that you provide in the metadata import file with the values and timestamps that exist in your project. For more information, see Comparison logic (https://cloud.google.com/dataplex/docs/import-metadata#data-modification-logic).
26+
* `updateMask` (*type:* `String.t`, *default:* `nil`) - The fields to update, in paths that are relative to the Entry resource. Separate each field with a comma.In FULL entry sync mode, Dataplex includes the paths of all of the fields for an entry that can be modified, including aspects. This means that Dataplex replaces the existing entry with the entry in the metadata import file. All modifiable fields are updated, regardless of the fields that are listed in the update mask, and regardless of whether a field is present in the entry object.The update_mask field is ignored when an entry is created or re-created.In an aspect-only metadata job (when entry sync mode is NONE), set this value to aspects.Dataplex also determines which entries and aspects to modify by comparing the values and timestamps that you provide in the metadata import file with the values and timestamps that exist in your project. For more information, see Comparison logic (https://cloud.google.com/dataplex/docs/import-metadata#data-modification-logic).
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/dataplex/lib/google_api/dataplex/v1/model/google_cloud_dataplex_v1_metadata_job_import_job_spec.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1MetadataJobImportJobSpec do
1919
@moduledoc """
20-
Job specification for a metadata import job
20+
Job specification for a metadata import job.You can run the following kinds of metadata import jobs: Full sync of entries with incremental import of their aspects. Supported for custom entries. Incremental import of aspects only. Supported for aspects that belong to custom entries and system entries. For custom entries, you can modify both optional aspects and required aspects. For system entries, you can modify optional aspects.
2121
2222
## Attributes
2323
24-
* `aspectSyncMode` (*type:* `String.t`, *default:* `nil`) - Required. The sync mode for aspects. Only INCREMENTAL mode is supported for aspects. An aspect is modified only if the metadata import file includes a reference to the aspect in the update_mask field and the aspect_keys field.
25-
* `entrySyncMode` (*type:* `String.t`, *default:* `nil`) - Required. The sync mode for entries. Only FULL mode is supported for entries. All entries in the job's scope are modified. If an entry exists in Dataplex but isn't included in the metadata import file, the entry is deleted when you run the metadata job.
24+
* `aspectSyncMode` (*type:* `String.t`, *default:* `nil`) - Required. The sync mode for aspects.
25+
* `entrySyncMode` (*type:* `String.t`, *default:* `nil`) - Required. The sync mode for entries.
2626
* `logLevel` (*type:* `String.t`, *default:* `nil`) - Optional. The level of logs to write to Cloud Logging for this job.Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs (https://cloud.google.com/stackdriver/pricing) that might not be merited for all jobs.If unspecified, defaults to INFO.
2727
* `scope` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope.t`, *default:* `nil`) - Required. A boundary on the scope of impact that the metadata import job can have.
2828
* `sourceCreateTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the process that created the metadata import files began.

clients/dataplex/lib/google_api/dataplex/v1/model/google_cloud_dataplex_v1_metadata_job_import_job_spec_import_job_scope.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1MetadataJobImportJobS
2121
2222
## Attributes
2323
24-
* `aspectTypes` (*type:* `list(String.t)`, *default:* `nil`) - 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.
25-
* `entryGroups` (*type:* `list(String.t)`, *default:* `nil`) - 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.
26-
* `entryTypes` (*type:* `list(String.t)`, *default:* `nil`) - 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.
24+
* `aspectTypes` (*type:* `list(String.t)`, *default:* `nil`) - 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.
25+
* `entryGroups` (*type:* `list(String.t)`, *default:* `nil`) - 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.
26+
* `entryTypes` (*type:* `list(String.t)`, *default:* `nil`) - 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.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)