Skip to content

Commit f35916e

Browse files
feat: Automated regeneration of Dataform client (googleapis#12858)
Auto-created at 2025-01-23 13:16:28 +0000 using the toys pull request generator.
1 parent 4a7b214 commit f35916e

File tree

14 files changed

+33
-9
lines changed

14 files changed

+33
-9
lines changed

clients/dataform/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_dataform, "~> 0.7"}]
14+
[{:google_api_dataform, "~> 0.8"}]
1515
end
1616
```
1717

clients/dataform/lib/google_api/dataform/v1beta1/api/projects.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
219219
end
220220

221221
@doc """
222-
Update default config for a given project and location. *Note:* This method does not fully implement AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad request 2. When the *field_mask* is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
222+
Update default config for a given project and location. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
223223
224224
## Parameters
225225
@@ -956,7 +956,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
956956
end
957957

958958
@doc """
959-
Updates a single Repository. *Note:* This method does not fully implement AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad request 2. When the *field_mask* is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
959+
Updates a single Repository. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
960960
961961
## Parameters
962962
@@ -1923,7 +1923,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
19231923
end
19241924

19251925
@doc """
1926-
Updates a single ReleaseConfig. *Note:* This method does not fully implement AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad request 2. When the *field_mask* is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
1926+
Updates a single ReleaseConfig. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
19271927
19281928
## Parameters
19291929
@@ -2287,7 +2287,7 @@ defmodule GoogleApi.Dataform.V1beta1.Api.Projects do
22872287
end
22882288

22892289
@doc """
2290-
Updates a single WorkflowConfig. *Note:* This method does not fully implement AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad request 2. When the *field_mask* is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
2290+
Updates a single WorkflowConfig. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
22912291
22922292
## Parameters
22932293

clients/dataform/lib/google_api/dataform/v1beta1/metadata.ex

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

23-
@discovery_revision "20241203"
23+
@discovery_revision "20250119"
2424

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

clients/dataform/lib/google_api/dataform/v1beta1/model/compilation_result.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResult do
2727
* `dataEncryptionState` (*type:* `GoogleApi.Dataform.V1beta1.Model.DataEncryptionState.t`, *default:* `nil`) - Output only. Only set if the repository has a KMS Key.
2828
* `dataformCoreVersion` (*type:* `String.t`, *default:* `nil`) - Output only. The version of `@dataform/core` that was used for compilation.
2929
* `gitCommitish` (*type:* `String.t`, *default:* `nil`) - Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
30+
* `internalMetadata` (*type:* `String.t`, *default:* `nil`) - Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
3031
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The compilation result's name.
3132
* `releaseConfig` (*type:* `String.t`, *default:* `nil`) - Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
3233
* `resolvedGitCommitSha` (*type:* `String.t`, *default:* `nil`) - Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
@@ -43,6 +44,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResult do
4344
:dataEncryptionState => GoogleApi.Dataform.V1beta1.Model.DataEncryptionState.t() | nil,
4445
:dataformCoreVersion => String.t() | nil,
4546
:gitCommitish => String.t() | nil,
47+
:internalMetadata => String.t() | nil,
4648
:name => String.t() | nil,
4749
:releaseConfig => String.t() | nil,
4850
:resolvedGitCommitSha => String.t() | nil,
@@ -55,6 +57,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResult do
5557
field(:dataEncryptionState, as: GoogleApi.Dataform.V1beta1.Model.DataEncryptionState)
5658
field(:dataformCoreVersion)
5759
field(:gitCommitish)
60+
field(:internalMetadata)
5861
field(:name)
5962
field(:releaseConfig)
6063
field(:resolvedGitCommitSha)

clients/dataform/lib/google_api/dataform/v1beta1/model/compilation_result_action.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResultAction do
2525
* `canonicalTarget` (*type:* `GoogleApi.Dataform.V1beta1.Model.Target.t`, *default:* `nil`) - The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
2626
* `declaration` (*type:* `GoogleApi.Dataform.V1beta1.Model.Declaration.t`, *default:* `nil`) - The declaration declared by this action.
2727
* `filePath` (*type:* `String.t`, *default:* `nil`) - The full path including filename in which this action is located, relative to the workspace root.
28+
* `internalMetadata` (*type:* `String.t`, *default:* `nil`) - Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
2829
* `notebook` (*type:* `GoogleApi.Dataform.V1beta1.Model.Notebook.t`, *default:* `nil`) - The notebook executed by this action.
2930
* `operations` (*type:* `GoogleApi.Dataform.V1beta1.Model.Operations.t`, *default:* `nil`) - The database operations executed by this action.
3031
* `relation` (*type:* `GoogleApi.Dataform.V1beta1.Model.Relation.t`, *default:* `nil`) - The database relation created/updated by this action.
@@ -38,6 +39,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResultAction do
3839
:canonicalTarget => GoogleApi.Dataform.V1beta1.Model.Target.t() | nil,
3940
:declaration => GoogleApi.Dataform.V1beta1.Model.Declaration.t() | nil,
4041
:filePath => String.t() | nil,
42+
:internalMetadata => String.t() | nil,
4143
:notebook => GoogleApi.Dataform.V1beta1.Model.Notebook.t() | nil,
4244
:operations => GoogleApi.Dataform.V1beta1.Model.Operations.t() | nil,
4345
:relation => GoogleApi.Dataform.V1beta1.Model.Relation.t() | nil,
@@ -48,6 +50,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.CompilationResultAction do
4850
field(:canonicalTarget, as: GoogleApi.Dataform.V1beta1.Model.Target)
4951
field(:declaration, as: GoogleApi.Dataform.V1beta1.Model.Declaration)
5052
field(:filePath)
53+
field(:internalMetadata)
5154
field(:notebook, as: GoogleApi.Dataform.V1beta1.Model.Notebook)
5255
field(:operations, as: GoogleApi.Dataform.V1beta1.Model.Operations)
5356
field(:relation, as: GoogleApi.Dataform.V1beta1.Model.Relation)

clients/dataform/lib/google_api/dataform/v1beta1/model/notebook_action.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.NotebookAction do
2222
## Attributes
2323
2424
* `contents` (*type:* `String.t`, *default:* `nil`) - Output only. The code contents of a Notebook to be run.
25-
* `jobId` (*type:* `String.t`, *default:* `nil`) - Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in GCS buckets. Only set once the job has started to run.
25+
* `jobId` (*type:* `String.t`, *default:* `nil`) - Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/dataform/lib/google_api/dataform/v1beta1/model/notebook_runtime_options.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.NotebookRuntimeOptions do
2121
2222
## Attributes
2323
24-
* `gcsOutputBucket` (*type:* `String.t`, *default:* `nil`) - Optional. The GCS location to upload the result to. Format: `gs://bucket-name`.
24+
* `gcsOutputBucket` (*type:* `String.t`, *default:* `nil`) - Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/dataform/lib/google_api/dataform/v1beta1/model/release_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.ReleaseConfig do
2525
* `cronSchedule` (*type:* `String.t`, *default:* `nil`) - Optional. Optional schedule (in cron format) for automatic creation of compilation results.
2626
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables automatic creation of compilation results.
2727
* `gitCommitish` (*type:* `String.t`, *default:* `nil`) - Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
28+
* `internalMetadata` (*type:* `String.t`, *default:* `nil`) - Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
2829
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The release config's name.
2930
* `recentScheduledReleaseRecords` (*type:* `list(GoogleApi.Dataform.V1beta1.Model.ScheduledReleaseRecord.t)`, *default:* `nil`) - Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.
3031
* `releaseCompilationResult` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.
@@ -39,6 +40,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.ReleaseConfig do
3940
:cronSchedule => String.t() | nil,
4041
:disabled => boolean() | nil,
4142
:gitCommitish => String.t() | nil,
43+
:internalMetadata => String.t() | nil,
4244
:name => String.t() | nil,
4345
:recentScheduledReleaseRecords =>
4446
list(GoogleApi.Dataform.V1beta1.Model.ScheduledReleaseRecord.t()) | nil,
@@ -50,6 +52,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.ReleaseConfig do
5052
field(:cronSchedule)
5153
field(:disabled)
5254
field(:gitCommitish)
55+
field(:internalMetadata)
5356
field(:name)
5457

5558
field(:recentScheduledReleaseRecords,

clients/dataform/lib/google_api/dataform/v1beta1/model/repository.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.Repository do
2525
* `dataEncryptionState` (*type:* `GoogleApi.Dataform.V1beta1.Model.DataEncryptionState.t`, *default:* `nil`) - Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
2626
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. The repository's user-friendly name.
2727
* `gitRemoteSettings` (*type:* `GoogleApi.Dataform.V1beta1.Model.GitRemoteSettings.t`, *default:* `nil`) - Optional. If set, configures this repository to be linked to a Git remote.
28+
* `internalMetadata` (*type:* `String.t`, *default:* `nil`) - Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
2829
* `kmsKeyName` (*type:* `String.t`, *default:* `nil`) - Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`
2930
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Repository user labels.
3031
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The repository's name.
@@ -41,6 +42,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.Repository do
4142
:dataEncryptionState => GoogleApi.Dataform.V1beta1.Model.DataEncryptionState.t() | nil,
4243
:displayName => String.t() | nil,
4344
:gitRemoteSettings => GoogleApi.Dataform.V1beta1.Model.GitRemoteSettings.t() | nil,
45+
:internalMetadata => String.t() | nil,
4446
:kmsKeyName => String.t() | nil,
4547
:labels => map() | nil,
4648
:name => String.t() | nil,
@@ -55,6 +57,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.Repository do
5557
field(:dataEncryptionState, as: GoogleApi.Dataform.V1beta1.Model.DataEncryptionState)
5658
field(:displayName)
5759
field(:gitRemoteSettings, as: GoogleApi.Dataform.V1beta1.Model.GitRemoteSettings)
60+
field(:internalMetadata)
5861
field(:kmsKeyName)
5962
field(:labels, type: :map)
6063
field(:name)

clients/dataform/lib/google_api/dataform/v1beta1/model/workflow_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.WorkflowConfig do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp of when the WorkflowConfig was created.
2525
* `cronSchedule` (*type:* `String.t`, *default:* `nil`) - Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
26+
* `internalMetadata` (*type:* `String.t`, *default:* `nil`) - Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
2627
* `invocationConfig` (*type:* `GoogleApi.Dataform.V1beta1.Model.InvocationConfig.t`, *default:* `nil`) - Optional. If left unset, a default InvocationConfig will be used.
2728
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The workflow config's name.
2829
* `recentScheduledExecutionRecords` (*type:* `list(GoogleApi.Dataform.V1beta1.Model.ScheduledExecutionRecord.t)`, *default:* `nil`) - Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
@@ -36,6 +37,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.WorkflowConfig do
3637
@type t :: %__MODULE__{
3738
:createTime => DateTime.t() | nil,
3839
:cronSchedule => String.t() | nil,
40+
:internalMetadata => String.t() | nil,
3941
:invocationConfig => GoogleApi.Dataform.V1beta1.Model.InvocationConfig.t() | nil,
4042
:name => String.t() | nil,
4143
:recentScheduledExecutionRecords =>
@@ -47,6 +49,7 @@ defmodule GoogleApi.Dataform.V1beta1.Model.WorkflowConfig do
4749

4850
field(:createTime, as: DateTime)
4951
field(:cronSchedule)
52+
field(:internalMetadata)
5053
field(:invocationConfig, as: GoogleApi.Dataform.V1beta1.Model.InvocationConfig)
5154
field(:name)
5255

0 commit comments

Comments
 (0)