Skip to content

Commit 4564749

Browse files
feat: Automated regeneration of Dataplex client (googleapis#12677)
Auto-created at 2024-12-11 13:15:35 +0000 using the toys pull request generator.
1 parent f4c02b6 commit 4564749

File tree

8 files changed

+16
-14
lines changed

8 files changed

+16
-14
lines changed

clients/dataplex/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_dataplex, "~> 0.19"}]
14+
[{:google_api_dataplex, "~> 0.20"}]
1515
end
1616
```
1717

clients/dataplex/lib/google_api/dataplex/v1/api/projects.ex

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
254254
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
255255
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
256256
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
257-
* `:orderBy` (*type:* `String.t`) - Optional. Specifies the ordering of results.
257+
* `:orderBy` (*type:* `String.t`) - Optional. Specifies the ordering of results. Supported values are: * relevance (default) * last_modified_timestamp * last_modified_timestamp asc
258258
* `:pageSize` (*type:* `integer()`) - Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
259259
* `:pageToken` (*type:* `String.t`) - Optional. Page token received from a previous SearchEntries call. Provide this to retrieve the subsequent page.
260-
* `:query` (*type:* `String.t`) - Required. The query against which entries in scope should be matched.
260+
* `:query` (*type:* `String.t`) - Required. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Catalog (https://cloud.google.com/dataplex/docs/search-syntax).
261261
* `:scope` (*type:* `String.t`) - Optional. The scope under which the search should be operating. It must either be organizations/ or projects/. If it is unspecified, it defaults to the organization where the project provided in name is located.
262262
* `opts` (*type:* `keyword()`) - Call options
263263

@@ -1620,6 +1620,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
16201620
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
16211621
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
16221622
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
1623+
* `:force` (*type:* `boolean()`) - Optional. If set to true, any child resources of this data scan will also be deleted. (Otherwise, the request will only work if the data scan has no child resources.)
16231624
* `opts` (*type:* `keyword()`) - Call options
16241625

16251626
## Returns
@@ -1654,7 +1655,8 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
16541655
:prettyPrint => :query,
16551656
:quotaUser => :query,
16561657
:uploadType => :query,
1657-
:upload_protocol => :query
1658+
:upload_protocol => :query,
1659+
:force => :query
16581660
}
16591661

16601662
request =
@@ -1984,7 +1986,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
19841986
## Parameters
19851987

19861988
* `connection` (*type:* `GoogleApi.Dataplex.V1.Connection.t`) - Connection to server
1987-
* `name` (*type:* `String.t`) - Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
1989+
* `name` (*type:* `String.t`) - Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
19881990
* `optional_params` (*type:* `keyword()`) - Optional parameters
19891991
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
19901992
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1997,7 +1999,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
19971999
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
19982000
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
19992001
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2000-
* `:updateMask` (*type:* `String.t`) - Required. Mask of fields to update.
2002+
* `:updateMask` (*type:* `String.t`) - Optional. Mask of fields to update.
20012003
* `:validateOnly` (*type:* `boolean()`) - Optional. Only validate the request, but do not perform mutations. The default is false.
20022004
* `:body` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScan.t`) -
20032005
* `opts` (*type:* `keyword()`) - Call options
@@ -4635,7 +4637,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
46354637
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
46364638
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
46374639
* `:allowMissing` (*type:* `boolean()`) - Optional. If set to true and the entry doesn't exist, the service will create it.
4638-
* `:aspectKeys` (*type:* `list(String.t)`) - Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.
4640+
* `:aspectKeys` (*type:* `list(String.t)`) - Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.
46394641
* `:deleteMissingAspects` (*type:* `boolean()`) - Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.
46404642
* `:updateMask` (*type:* `String.t`) - Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request.
46414643
* `:body` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Entry.t`) -

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 "20241106"
23+
@discovery_revision "20241206"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScan do
3434
* `executionSpec` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanExecutionSpec.t`, *default:* `nil`) - Optional. DataScan execution settings.If not specified, the fields in it will use their default values.
3535
* `executionStatus` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanExecutionStatus.t`, *default:* `nil`) - Output only. Status of the data scan execution.
3636
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. User-defined labels for the scan.
37-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
37+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
3838
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. Current state of the DataScan.
3939
* `type` (*type:* `String.t`, *default:* `nil`) - Output only. The type of DataScan.
4040
* `uid` (*type:* `String.t`, *default:* `nil`) - Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanExecutionStat
2222
## Attributes
2323
2424
* `latestJobCreateTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the DataScanJob execution was created.
25-
* `latestJobEndTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the latest DataScanJob ended.
26-
* `latestJobStartTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the latest DataScanJob started.
25+
* `latestJobEndTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the latest DataScanJob ended.
26+
* `latestJobStartTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the latest DataScanJob started.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanJob do
3030
* `dataQualitySpec` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualitySpec.t`, *default:* `nil`) - Output only. Settings for a data quality scan.
3131
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the DataScanJob ended.
3232
* `message` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state.
33-
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
33+
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.
3434
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the DataScanJob was started.
3535
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. Execution state for the DataScanJob.
3636
* `type` (*type:* `String.t`, *default:* `nil`) - Output only. The type of the parent DataScan.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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. {aspect_type_reference}@*: matches aspects that belong to the specified aspect type for all paths.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. @* : 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.
2525
* `entry` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Entry.t`, *default:* `nil`) - Information about an entry and its attached aspects.
2626
* `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).
2727
"""

clients/dataplex/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Dataplex.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.19.0"
21+
@version "0.20.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)