Skip to content

Commit 5e5dfaa

Browse files
feat: Automated regeneration of Dataplex client (googleapis#13203)
Auto-created at 2025-03-21 13:14:41 +0000 using the toys pull request generator.
1 parent 5b52c54 commit 5e5dfaa

6 files changed

+67
-15
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 "20250307"
23+
@discovery_revision "20250313"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityDimension
2121
2222
## Attributes
2323
24-
* `name` (*type:* `String.t`, *default:* `nil`) - The dimension name a rule belongs to. Supported dimensions are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME"
24+
* `name` (*type:* `String.t`, *default:* `nil`) - Optional. The dimension name a rule belongs to. Custom dimension name is supported with all uppercase letters and maximum length of 30 characters.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityDimensionR
2222
## Attributes
2323
2424
* `dimension` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityDimension.t`, *default:* `nil`) - Output only. The dimension config specified in the DataQualitySpec, as is.
25-
* `passed` (*type:* `boolean()`, *default:* `nil`) - Whether the dimension passed or failed.
25+
* `passed` (*type:* `boolean()`, *default:* `nil`) - Output only. Whether the dimension passed or failed.
2626
* `score` (*type:* `number()`, *default:* `nil`) - Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.The score ranges between 0, 100 (up to two decimal points).
2727
"""
2828

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityResult do
2222
## Attributes
2323
2424
* `columns` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityColumnResult.t)`, *default:* `nil`) - Output only. A list of results at the column level.A column will have a corresponding DataQualityColumnResult if and only if there is at least one rule with the 'column' field set to it.
25-
* `dimensions` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityDimensionResult.t)`, *default:* `nil`) - A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field set to it.
26-
* `passed` (*type:* `boolean()`, *default:* `nil`) - Overall data quality result -- true if all rules passed.
25+
* `dimensions` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityDimensionResult.t)`, *default:* `nil`) - Output only. A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field set to it.
26+
* `passed` (*type:* `boolean()`, *default:* `nil`) - Output only. Overall data quality result -- true if all rules passed.
2727
* `postScanActionsResult` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityResultPostScanActionsResult.t`, *default:* `nil`) - Output only. The result of post scan actions.
28-
* `rowCount` (*type:* `String.t`, *default:* `nil`) - The count of rows processed.
29-
* `rules` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleResult.t)`, *default:* `nil`) - A list of all the rules in a job, and their results.
30-
* `scannedData` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1ScannedData.t`, *default:* `nil`) - The data scanned for this result.
28+
* `rowCount` (*type:* `String.t`, *default:* `nil`) - Output only. The count of rows processed.
29+
* `rules` (*type:* `list(GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleResult.t)`, *default:* `nil`) - Output only. A list of all the rules in a job, and their results.
30+
* `scannedData` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1ScannedData.t`, *default:* `nil`) - Output only. The data scanned for this result.
3131
* `score` (*type:* `number()`, *default:* `nil`) - Output only. The overall data quality score.The score ranges between 0, 100 (up to two decimal points).
3232
"""
3333

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRuleResult
2222
## Attributes
2323
2424
* `assertionRowCount` (*type:* `String.t`, *default:* `nil`) - Output only. The number of rows returned by the SQL statement in a SQL assertion rule.This field is only valid for SQL assertion rules.
25-
* `evaluatedCount` (*type:* `String.t`, *default:* `nil`) - The number of rows a rule was evaluated against.This field is only valid for row-level type rules.Evaluated count can be configured to either include all rows (default) - with null rows automatically failing rule evaluation, or exclude null rows from the evaluated_count, by setting ignore_nulls = true.This field is not set for rule SqlAssertion.
26-
* `failingRowsQuery` (*type:* `String.t`, *default:* `nil`) - The query to find rows that did not pass this rule.This field is only valid for row-level type rules.
27-
* `nullCount` (*type:* `String.t`, *default:* `nil`) - The number of rows with null values in the specified column.
28-
* `passRatio` (*type:* `float()`, *default:* `nil`) - The ratio of passed_count / evaluated_count.This field is only valid for row-level type rules.
29-
* `passed` (*type:* `boolean()`, *default:* `nil`) - Whether the rule passed or failed.
30-
* `passedCount` (*type:* `String.t`, *default:* `nil`) - This field is not set for rule SqlAssertion.
31-
* `rule` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRule.t`, *default:* `nil`) - The rule specified in the DataQualitySpec, as is.
25+
* `evaluatedCount` (*type:* `String.t`, *default:* `nil`) - Output only. The number of rows a rule was evaluated against.This field is only valid for row-level type rules.Evaluated count can be configured to either include all rows (default) - with null rows automatically failing rule evaluation, or exclude null rows from the evaluated_count, by setting ignore_nulls = true.This field is not set for rule SqlAssertion.
26+
* `failingRowsQuery` (*type:* `String.t`, *default:* `nil`) - Output only. The query to find rows that did not pass this rule.This field is only valid for row-level type rules.
27+
* `nullCount` (*type:* `String.t`, *default:* `nil`) - Output only. The number of rows with null values in the specified column.
28+
* `passRatio` (*type:* `float()`, *default:* `nil`) - Output only. The ratio of passed_count / evaluated_count.This field is only valid for row-level type rules.
29+
* `passed` (*type:* `boolean()`, *default:* `nil`) - Output only. Whether the rule passed or failed.
30+
* `passedCount` (*type:* `String.t`, *default:* `nil`) - Output only. The number of rows which passed a rule evaluation.This field is only valid for row-level type rules.This field is not set for rule SqlAssertion.
31+
* `rule` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualityRule.t`, *default:* `nil`) - Output only. The rule specified in the DataQualitySpec, as is.
3232
"""
3333

3434
use GoogleApi.Gax.ModelBase
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.GoogleCloudDataplexV1EntryLinkEvent do
19+
@moduledoc """
20+
Payload associated with Entry 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, for: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1EntryLinkEvent do
43+
def decode(value, options) do
44+
GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1EntryLinkEvent.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1EntryLinkEvent do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end

0 commit comments

Comments
 (0)