Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of Dataplex client #12677

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/dataplex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_dataplex, "~> 0.19"}]
[{:google_api_dataplex, "~> 0.20"}]
end
```

Expand Down
14 changes: 8 additions & 6 deletions clients/dataplex/lib/google_api/dataplex/v1/api/projects.ex
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
* `: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.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:orderBy` (*type:* `String.t`) - Optional. Specifies the ordering of results.
* `:orderBy` (*type:* `String.t`) - Optional. Specifies the ordering of results. Supported values are: * relevance (default) * last_modified_timestamp * last_modified_timestamp asc
* `: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.
* `:pageToken` (*type:* `String.t`) - Optional. Page token received from a previous SearchEntries call. Provide this to retrieve the subsequent page.
* `:query` (*type:* `String.t`) - Required. The query against which entries in scope should be matched.
* `: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).
* `: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.
* `opts` (*type:* `keyword()`) - Call options

Expand Down Expand Up @@ -1620,6 +1620,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
* `: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.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `: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.)
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand Down Expand Up @@ -1654,7 +1655,8 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
:prettyPrint => :query,
:quotaUser => :query,
:uploadType => :query,
:upload_protocol => :query
:upload_protocol => :query,
:force => :query
}

request =
Expand Down Expand Up @@ -1984,7 +1986,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
## Parameters

* `connection` (*type:* `GoogleApi.Dataplex.V1.Connection.t`) - Connection to server
* `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.
* `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.
* `optional_params` (*type:* `keyword()`) - Optional parameters
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
* `:access_token` (*type:* `String.t`) - OAuth access token.
Expand All @@ -1997,7 +1999,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
* `: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.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:updateMask` (*type:* `String.t`) - Required. Mask of fields to update.
* `:updateMask` (*type:* `String.t`) - Optional. Mask of fields to update.
* `:validateOnly` (*type:* `boolean()`) - Optional. Only validate the request, but do not perform mutations. The default is false.
* `:body` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScan.t`) -
* `opts` (*type:* `keyword()`) - Call options
Expand Down Expand Up @@ -4635,7 +4637,7 @@ defmodule GoogleApi.Dataplex.V1.Api.Projects do
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:allowMissing` (*type:* `boolean()`) - Optional. If set to true and the entry doesn't exist, the service will create it.
* `: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.
* `: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.
* `: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.
* `: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.
* `:body` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Entry.t`) -
Expand Down
2 changes: 1 addition & 1 deletion clients/dataplex/lib/google_api/dataplex/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Dataplex.V1 do
API client metadata for GoogleApi.Dataplex.V1.
"""

@discovery_revision "20241106"
@discovery_revision "20241206"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScan do
* `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.
* `executionStatus` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanExecutionStatus.t`, *default:* `nil`) - Output only. Status of the data scan execution.
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. User-defined labels for the scan.
* `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.
* `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.
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. Current state of the DataScan.
* `type` (*type:* `String.t`, *default:* `nil`) - Output only. The type of DataScan.
* `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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanExecutionStat
## Attributes

* `latestJobCreateTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the DataScanJob execution was created.
* `latestJobEndTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the latest DataScanJob ended.
* `latestJobStartTime` (*type:* `DateTime.t`, *default:* `nil`) - The time when the latest DataScanJob started.
* `latestJobEndTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the latest DataScanJob ended.
* `latestJobStartTime` (*type:* `DateTime.t`, *default:* `nil`) - Optional. The time when the latest DataScanJob started.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataScanJob do
* `dataQualitySpec` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1DataQualitySpec.t`, *default:* `nil`) - Output only. Settings for a data quality scan.
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the DataScanJob ended.
* `message` (*type:* `String.t`, *default:* `nil`) - Output only. Additional information about the current state.
* `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.
* `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.
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the DataScanJob was started.
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. Execution state for the DataScanJob.
* `type` (*type:* `String.t`, *default:* `nil`) - Output only. The type of the parent DataScan.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1ImportItem do

## Attributes

* `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.
* `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.
* `entry` (*type:* `GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Entry.t`, *default:* `nil`) - Information about an entry and its attached aspects.
* `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).
"""
Expand Down
2 changes: 1 addition & 1 deletion clients/dataplex/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Dataplex.Mixfile do
use Mix.Project

@version "0.19.0"
@version "0.20.0"

def project() do
[
Expand Down
Loading