Skip to content

Commit ac9dbf0

Browse files
feat: Automated regeneration of Dataplex client (#13061)
Auto-created at 2025-02-28 13:19:36 +0000 using the toys pull request generator.
1 parent a239e58 commit ac9dbf0

11 files changed

+69
-12
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.20"}]
14+
[{:google_api_dataplex, "~> 0.21"}]
1515
end
1616
```
1717

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
156156
end
157157

158158
@doc """
159-
Looks up a single Entry by name using the permission on the source system.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes).
159+
Looks up an entry by name using the permission on the source system.
160160

161161
## Parameters
162162

@@ -2516,7 +2516,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
25162516
## Parameters
25172517

25182518
* `connection` (*type:* `GoogleApi.Dataplex.V1.Connection.t`) - Connection to server
2519-
* `parent` (*type:* `String.t`) - Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.
2519+
* `parent` (*type:* `String.t`) -
25202520
* `optional_params` (*type:* `keyword()`) - Optional parameters
25212521
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
25222522
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -2668,7 +2668,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
26682668
## Parameters
26692669

26702670
* `connection` (*type:* `GoogleApi.Dataplex.V1.Connection.t`) - Connection to server
2671-
* `name` (*type:* `String.t`) - Required. The resource name of the DataTaxonomy: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
2671+
* `name` (*type:* `String.t`) -
26722672
* `optional_params` (*type:* `keyword()`) - Optional parameters
26732673
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
26742674
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -4462,7 +4462,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
44624462
end
44634463

44644464
@doc """
4465-
Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes).
4465+
Gets an Entry.
44664466

44674467
## Parameters
44684468

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 "20250129"
23+
@discovery_revision "20250222"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1BusinessGlossaryEvent do
19+
@moduledoc """
20+
Payload associated with Business Glossary related log events.
21+
22+
## Attributes
23+
24+
* `eventType` (*type:* `String.t`, *default:* `nil`) - The type of the event.
25+
* `message` (*type:* `String.t`, *default:* `nil`) - The log message.
26+
* `resource` (*type:* `String.t`, *default:* `nil`) - Name of the resource.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:eventType => String.t() | nil,
33+
:message => String.t() | nil,
34+
:resource => String.t() | nil
35+
}
36+
37+
field(:eventType)
38+
field(:message)
39+
field(:resource)
40+
end
41+
42+
defimpl Poison.Decoder,
43+
for: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1BusinessGlossaryEvent do
44+
def decode(value, options) do
45+
GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1BusinessGlossaryEvent.decode(value, options)
46+
end
47+
end
48+
49+
defimpl Poison.Encoder,
50+
for: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1BusinessGlossaryEvent do
51+
def encode(value, options) do
52+
GoogleApi.Gax.ModelBase.encode(value, options)
53+
end
54+
end

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,20 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataDiscoverySpecBigQ
2222
## Attributes
2323
2424
* `connection` (*type:* `String.t`, *default:* `nil`) - Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}
25+
* `location` (*type:* `String.t`, *default:* `nil`) - Optional. The location of the BigQuery dataset to publish BigLake external or non-BigLake external tables to. 1. If the Cloud Storage bucket is located in a multi-region bucket, then BigQuery dataset can be in the same multi-region bucket or any single region that is included in the same multi-region bucket. The datascan can be created in any single region that is included in the same multi-region bucket 2. If the Cloud Storage bucket is located in a dual-region bucket, then BigQuery dataset can be located in regions that are included in the dual-region bucket, or in a multi-region that includes the dual-region. The datascan can be created in any single region that is included in the same dual-region bucket. 3. If the Cloud Storage bucket is located in a single region, then BigQuery dataset can be in the same single region or any multi-region bucket that includes the same single region. The datascan will be created in the same single region as the bucket. 4. If the BigQuery dataset is in single region, it must be in the same single region as the datascan.For supported values, refer to https://cloud.google.com/bigquery/docs/locations#supported_locations.
2526
* `tableType` (*type:* `String.t`, *default:* `nil`) - Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:connection => String.t() | nil,
33+
:location => String.t() | nil,
3234
:tableType => String.t() | nil
3335
}
3436

3537
field(:connection)
38+
field(:location)
3639
field(:tableType)
3740
end
3841

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataProfileSpec do
2424
* `excludeFields` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataProfileSpecSelectedFields.t`, *default:* `nil`) - Optional. The fields to exclude from data profile.If specified, the fields will be excluded from data profile, regardless of include_fields value.
2525
* `includeFields` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataProfileSpecSelectedFields.t`, *default:* `nil`) - Optional. The fields to include in data profile.If not specified, all fields at the time of profile scan job execution are included, except for ones listed in exclude_fields.
2626
* `postScanActions` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataProfileSpecPostScanActions.t`, *default:* `nil`) - Optional. Actions to take upon job completion..
27-
* `rowFilter` (*type:* `String.t`, *default:* `nil`) - Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
27+
* `rowFilter` (*type:* `String.t`, *default:* `nil`) - Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause).Example: col1 >= 0 AND col2 < 10
2828
* `samplingPercent` (*type:* `number()`, *default:* `nil`) - Optional. The percentage of the records to be selected from the dataset for DataScan. Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. Sampling is not applied if sampling_percent is not specified, 0 or 100.
2929
"""
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation do
1919
@moduledoc """
20-
Evaluates whether each row passes the specified condition.The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result.Example: col1 >= 0 AND col2 < 10
20+
Evaluates whether each row passes the specified condition.The SQL expression needs to use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax) and should produce a boolean value per row as the result.Example: col1 >= 0 AND col2 < 10
2121
2222
## Attributes
2323

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleSqlAssertion do
1919
@moduledoc """
20-
A SQL statement that is evaluated to return rows that match an invalid state. If any rows are are returned, this rule fails.The SQL statement must use BigQuery standard SQL syntax, and must not contain any semicolons.You can use the data reference parameter ${data()} to reference the source table with all of its precondition filters applied. Examples of precondition filters include row filters, incremental data filters, and sampling. For more information, see Data reference parameter (https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).Example: SELECT * FROM ${data()} WHERE price < 0
20+
A SQL statement that is evaluated to return rows that match an invalid state. If any rows are are returned, this rule fails.The SQL statement must use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax), and must not contain any semicolons.You can use the data reference parameter ${data()} to reference the source table with all of its precondition filters applied. Examples of precondition filters include row filters, incremental data filters, and sampling. For more information, see Data reference parameter (https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).Example: SELECT * FROM ${data()} WHERE price < 0
2121
2222
## Attributes
2323

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation do
1919
@moduledoc """
20-
Evaluates whether the provided expression is true.The SQL expression needs to use BigQuery standard SQL syntax and should produce a scalar boolean result.Example: MIN(col1) >= 0
20+
Evaluates whether the provided expression is true.The SQL expression needs to use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax) and should produce a scalar boolean result.Example: MIN(col1) >= 0
2121
2222
## Attributes
2323

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualitySpec do
2222
## Attributes
2323
2424
* `postScanActions` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualitySpecPostScanActions.t`, *default:* `nil`) - Optional. Actions to take upon job completion.
25-
* `rowFilter` (*type:* `String.t`, *default:* `nil`) - Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
25+
* `rowFilter` (*type:* `String.t`, *default:* `nil`) - Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause).Example: col1 >= 0 AND col2 < 10
2626
* `rules` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRule.t)`, *default:* `nil`) - Required. The list of rules to evaluate against a data source. At least one rule is required.
2727
* `samplingPercent` (*type:* `number()`, *default:* `nil`) - Optional. The percentage of the records to be selected from the dataset for DataScan. Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. Sampling is not applied if sampling_percent is not specified, 0 or 100.
2828
"""

0 commit comments

Comments
 (0)