diff --git a/clients/google-api-services-dataform/v1/2.0.0/README.md b/clients/google-api-services-dataform/v1/2.0.0/README.md
index 9a0fe45591f..aaedf66981e 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/README.md
+++ b/clients/google-api-services-dataform/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GcsRepositorySnapshotDestination extends com.google.api.client.json.GenericJson { + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String repositorySnapshotUri; + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * @return value or {@code null} for none + */ + public java.lang.String getRepositorySnapshotUri() { + return repositorySnapshotUri; + } + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * @param repositorySnapshotUri repositorySnapshotUri or {@code null} for none + */ + public GcsRepositorySnapshotDestination setRepositorySnapshotUri(java.lang.String repositorySnapshotUri) { + this.repositorySnapshotUri = repositorySnapshotUri; + return this; + } + + @Override + public GcsRepositorySnapshotDestination set(String fieldName, Object value) { + return (GcsRepositorySnapshotDestination) super.set(fieldName, value); + } + + @Override + public GcsRepositorySnapshotDestination clone() { + return (GcsRepositorySnapshotDestination) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/GcsRepositorySnapshotMetadata.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/GcsRepositorySnapshotMetadata.java new file mode 100644 index 00000000000..3f4a7d214f4 --- /dev/null +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/GcsRepositorySnapshotMetadata.java @@ -0,0 +1,117 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dataform.v1.model; + +/** + * Metadata about a repository snapshot stored in Google Cloud Storage. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GcsRepositorySnapshotMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String crc32cChecksum; + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long generation; + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String repositorySnapshotUri; + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * @return value or {@code null} for none + */ + public java.lang.String getCrc32cChecksum() { + return crc32cChecksum; + } + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * @param crc32cChecksum crc32cChecksum or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setCrc32cChecksum(java.lang.String crc32cChecksum) { + this.crc32cChecksum = crc32cChecksum; + return this; + } + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * @return value or {@code null} for none + */ + public java.lang.Long getGeneration() { + return generation; + } + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * @param generation generation or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setGeneration(java.lang.Long generation) { + this.generation = generation; + return this; + } + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * @return value or {@code null} for none + */ + public java.lang.String getRepositorySnapshotUri() { + return repositorySnapshotUri; + } + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * @param repositorySnapshotUri repositorySnapshotUri or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setRepositorySnapshotUri(java.lang.String repositorySnapshotUri) { + this.repositorySnapshotUri = repositorySnapshotUri; + return this; + } + + @Override + public GcsRepositorySnapshotMetadata set(String fieldName, Object value) { + return (GcsRepositorySnapshotMetadata) super.set(fieldName, value); + } + + @Override + public GcsRepositorySnapshotMetadata clone() { + return (GcsRepositorySnapshotMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/InstallNpmPackagesRequest.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/InstallNpmPackagesRequest.java index 567b10336af..72a5dd6d890 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/InstallNpmPackagesRequest.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/InstallNpmPackagesRequest.java @@ -29,6 +29,33 @@ @SuppressWarnings("javadoc") public final class InstallNpmPackagesRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PipelineConfig pipelineConfig; + + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @return value or {@code null} for none + */ + public PipelineConfig getPipelineConfig() { + return pipelineConfig; + } + + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @param pipelineConfig pipelineConfig or {@code null} for none + */ + public InstallNpmPackagesRequest setPipelineConfig(PipelineConfig pipelineConfig) { + this.pipelineConfig = pipelineConfig; + return this; + } + @Override public InstallNpmPackagesRequest set(String fieldName, Object value) { return (InstallNpmPackagesRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookAction.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookAction.java index 7f0b166e7f0..f7d2ec92c13 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookAction.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookAction.java @@ -36,6 +36,13 @@ public final class NotebookAction extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String contents; + /** + * Output only. The path to the notebook file in the repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filePath; + /** * Output only. The ID of the Gemini Enterprise Agent Platform job that executed the notebook in * contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set @@ -62,6 +69,23 @@ public NotebookAction setContents(java.lang.String contents) { return this; } + /** + * Output only. The path to the notebook file in the repository. + * @return value or {@code null} for none + */ + public java.lang.String getFilePath() { + return filePath; + } + + /** + * Output only. The path to the notebook file in the repository. + * @param filePath filePath or {@code null} for none + */ + public NotebookAction setFilePath(java.lang.String filePath) { + this.filePath = filePath; + return this; + } + /** * Output only. The ID of the Gemini Enterprise Agent Platform job that executed the notebook in * contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookRuntimeOptions.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookRuntimeOptions.java index 0791d408298..c1d5c006431 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookRuntimeOptions.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/NotebookRuntimeOptions.java @@ -46,6 +46,14 @@ public final class NotebookRuntimeOptions extends com.google.api.client.json.Gen @com.google.api.client.util.Key private java.lang.String gcsOutputBucket; + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GcsRepositorySnapshotDestination gcsRepositorySnapshotDestination; + /** * Optional. The resource name of the [Colab runtime template] * (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook @@ -86,6 +94,25 @@ public NotebookRuntimeOptions setGcsOutputBucket(java.lang.String gcsOutputBucke return this; } + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * @return value or {@code null} for none + */ + public GcsRepositorySnapshotDestination getGcsRepositorySnapshotDestination() { + return gcsRepositorySnapshotDestination; + } + + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * @param gcsRepositorySnapshotDestination gcsRepositorySnapshotDestination or {@code null} for none + */ + public NotebookRuntimeOptions setGcsRepositorySnapshotDestination(GcsRepositorySnapshotDestination gcsRepositorySnapshotDestination) { + this.gcsRepositorySnapshotDestination = gcsRepositorySnapshotDestination; + return this; + } + @Override public NotebookRuntimeOptions set(String fieldName, Object value) { return (NotebookRuntimeOptions) super.set(fieldName, value); diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/PipelineConfig.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/PipelineConfig.java new file mode 100644 index 00000000000..52e5ad09a4e --- /dev/null +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/PipelineConfig.java @@ -0,0 +1,96 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dataform.v1.model; + +/** + * Defines the pipeline type and path within the Git repository. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class PipelineConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Required. The type of the pipeline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pipelineType; + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * @param path path or {@code null} for none + */ + public PipelineConfig setPath(java.lang.String path) { + this.path = path; + return this; + } + + /** + * Required. The type of the pipeline. + * @return value or {@code null} for none + */ + public java.lang.String getPipelineType() { + return pipelineType; + } + + /** + * Required. The type of the pipeline. + * @param pipelineType pipelineType or {@code null} for none + */ + public PipelineConfig setPipelineType(java.lang.String pipelineType) { + this.pipelineType = pipelineType; + return this; + } + + @Override + public PipelineConfig set(String fieldName, Object value) { + return (PipelineConfig) super.set(fieldName, value); + } + + @Override + public PipelineConfig clone() { + return (PipelineConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ReleaseConfig.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ReleaseConfig.java index b25d403d46a..85c4b31060e 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ReleaseConfig.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ReleaseConfig.java @@ -97,9 +97,9 @@ public final class ReleaseConfig extends com.google.api.client.json.GenericJson /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -263,9 +263,9 @@ public ReleaseConfig setReleaseCompilationResult(java.lang.String releaseCompila /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { @@ -274,9 +274,9 @@ public java.lang.String getTimeZone() { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @param timeZone timeZone or {@code null} for none */ public ReleaseConfig setTimeZone(java.lang.String timeZone) { diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java index 2e1ac205669..9f209cb7e16 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java @@ -97,9 +97,9 @@ public final class WorkflowConfig extends com.google.api.client.json.GenericJson /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -258,9 +258,9 @@ public WorkflowConfig setReleaseConfig(java.lang.String releaseConfig) { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { @@ -269,9 +269,9 @@ public java.lang.String getTimeZone() { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @param timeZone timeZone or {@code null} for none */ public WorkflowConfig setTimeZone(java.lang.String timeZone) { diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowInvocation.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowInvocation.java index d167849ee26..75454cf5ba4 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowInvocation.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowInvocation.java @@ -73,6 +73,14 @@ public final class WorkflowInvocation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PipelineConfig pipelineConfig; + /** * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` * resource is `user_scoped` only if it is sourced from a compilation result and the compilation @@ -211,6 +219,25 @@ public WorkflowInvocation setName(java.lang.String name) { return this; } + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @return value or {@code null} for none + */ + public PipelineConfig getPipelineConfig() { + return pipelineConfig; + } + + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @param pipelineConfig pipelineConfig or {@code null} for none + */ + public WorkflowInvocation setPipelineConfig(PipelineConfig pipelineConfig) { + this.pipelineConfig = pipelineConfig; + return this; + } + /** * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` * resource is `user_scoped` only if it is sourced from a compilation result and the compilation diff --git a/clients/google-api-services-dataform/v1/2.0.0/pom.xml b/clients/google-api-services-dataform/v1/2.0.0/pom.xml index 7f3b6ca993e..655b5156b0c 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/pom.xml +++ b/clients/google-api-services-dataform/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GcsRepositorySnapshotDestination extends com.google.api.client.json.GenericJson { + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String repositorySnapshotUri; + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * @return value or {@code null} for none + */ + public java.lang.String getRepositorySnapshotUri() { + return repositorySnapshotUri; + } + + /** + * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: + * `gs://bucket-name/path/`. + * @param repositorySnapshotUri repositorySnapshotUri or {@code null} for none + */ + public GcsRepositorySnapshotDestination setRepositorySnapshotUri(java.lang.String repositorySnapshotUri) { + this.repositorySnapshotUri = repositorySnapshotUri; + return this; + } + + @Override + public GcsRepositorySnapshotDestination set(String fieldName, Object value) { + return (GcsRepositorySnapshotDestination) super.set(fieldName, value); + } + + @Override + public GcsRepositorySnapshotDestination clone() { + return (GcsRepositorySnapshotDestination) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/GcsRepositorySnapshotMetadata.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/GcsRepositorySnapshotMetadata.java new file mode 100644 index 00000000000..d0cac701258 --- /dev/null +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/GcsRepositorySnapshotMetadata.java @@ -0,0 +1,117 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dataform.v1beta1.model; + +/** + * Metadata about a repository snapshot stored in Google Cloud Storage. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GcsRepositorySnapshotMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String crc32cChecksum; + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long generation; + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String repositorySnapshotUri; + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * @return value or {@code null} for none + */ + public java.lang.String getCrc32cChecksum() { + return crc32cChecksum; + } + + /** + * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. + * @param crc32cChecksum crc32cChecksum or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setCrc32cChecksum(java.lang.String crc32cChecksum) { + this.crc32cChecksum = crc32cChecksum; + return this; + } + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * @return value or {@code null} for none + */ + public java.lang.Long getGeneration() { + return generation; + } + + /** + * Output only. The generation number of the Cloud Storage object. See + * https://cloud.google.com/storage/docs/metadata#generation-number. + * @param generation generation or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setGeneration(java.lang.Long generation) { + this.generation = generation; + return this; + } + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * @return value or {@code null} for none + */ + public java.lang.String getRepositorySnapshotUri() { + return repositorySnapshotUri; + } + + /** + * Output only. The Google Cloud Storage URI of the repository snapshot. + * @param repositorySnapshotUri repositorySnapshotUri or {@code null} for none + */ + public GcsRepositorySnapshotMetadata setRepositorySnapshotUri(java.lang.String repositorySnapshotUri) { + this.repositorySnapshotUri = repositorySnapshotUri; + return this; + } + + @Override + public GcsRepositorySnapshotMetadata set(String fieldName, Object value) { + return (GcsRepositorySnapshotMetadata) super.set(fieldName, value); + } + + @Override + public GcsRepositorySnapshotMetadata clone() { + return (GcsRepositorySnapshotMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/InstallNpmPackagesRequest.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/InstallNpmPackagesRequest.java index d6e48cde26b..6777f1b4a00 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/InstallNpmPackagesRequest.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/InstallNpmPackagesRequest.java @@ -29,6 +29,33 @@ @SuppressWarnings("javadoc") public final class InstallNpmPackagesRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PipelineConfig pipelineConfig; + + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @return value or {@code null} for none + */ + public PipelineConfig getPipelineConfig() { + return pipelineConfig; + } + + /** + * Optional. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @param pipelineConfig pipelineConfig or {@code null} for none + */ + public InstallNpmPackagesRequest setPipelineConfig(PipelineConfig pipelineConfig) { + this.pipelineConfig = pipelineConfig; + return this; + } + @Override public InstallNpmPackagesRequest set(String fieldName, Object value) { return (InstallNpmPackagesRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookAction.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookAction.java index 2d0ef0cfa59..c75cb5759f0 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookAction.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookAction.java @@ -36,6 +36,13 @@ public final class NotebookAction extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String contents; + /** + * Output only. The path to the notebook file in the repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filePath; + /** * Output only. The ID of the Gemini Enterprise Agent Platform job that executed the notebook in * contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set @@ -62,6 +69,23 @@ public NotebookAction setContents(java.lang.String contents) { return this; } + /** + * Output only. The path to the notebook file in the repository. + * @return value or {@code null} for none + */ + public java.lang.String getFilePath() { + return filePath; + } + + /** + * Output only. The path to the notebook file in the repository. + * @param filePath filePath or {@code null} for none + */ + public NotebookAction setFilePath(java.lang.String filePath) { + this.filePath = filePath; + return this; + } + /** * Output only. The ID of the Gemini Enterprise Agent Platform job that executed the notebook in * contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookRuntimeOptions.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookRuntimeOptions.java index e50af5cd86c..30d4bd4b5d9 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookRuntimeOptions.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/NotebookRuntimeOptions.java @@ -46,6 +46,14 @@ public final class NotebookRuntimeOptions extends com.google.api.client.json.Gen @com.google.api.client.util.Key private java.lang.String gcsOutputBucket; + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GcsRepositorySnapshotDestination gcsRepositorySnapshotDestination; + /** * Optional. The resource name of the [Colab runtime template] * (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook @@ -86,6 +94,25 @@ public NotebookRuntimeOptions setGcsOutputBucket(java.lang.String gcsOutputBucke return this; } + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * @return value or {@code null} for none + */ + public GcsRepositorySnapshotDestination getGcsRepositorySnapshotDestination() { + return gcsRepositorySnapshotDestination; + } + + /** + * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it + * defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`. + * @param gcsRepositorySnapshotDestination gcsRepositorySnapshotDestination or {@code null} for none + */ + public NotebookRuntimeOptions setGcsRepositorySnapshotDestination(GcsRepositorySnapshotDestination gcsRepositorySnapshotDestination) { + this.gcsRepositorySnapshotDestination = gcsRepositorySnapshotDestination; + return this; + } + @Override public NotebookRuntimeOptions set(String fieldName, Object value) { return (NotebookRuntimeOptions) super.set(fieldName, value); diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/PipelineConfig.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/PipelineConfig.java new file mode 100644 index 00000000000..fa76e603ea0 --- /dev/null +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/PipelineConfig.java @@ -0,0 +1,96 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.dataform.v1beta1.model; + +/** + * Defines the pipeline type and path within the Git repository. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Dataform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class PipelineConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Required. The type of the pipeline. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pipelineType; + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Required. The relative path within the Git repository where the pipeline is defined. For + * example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or + * `dataform.json` is located. + * @param path path or {@code null} for none + */ + public PipelineConfig setPath(java.lang.String path) { + this.path = path; + return this; + } + + /** + * Required. The type of the pipeline. + * @return value or {@code null} for none + */ + public java.lang.String getPipelineType() { + return pipelineType; + } + + /** + * Required. The type of the pipeline. + * @param pipelineType pipelineType or {@code null} for none + */ + public PipelineConfig setPipelineType(java.lang.String pipelineType) { + this.pipelineType = pipelineType; + return this; + } + + @Override + public PipelineConfig set(String fieldName, Object value) { + return (PipelineConfig) super.set(fieldName, value); + } + + @Override + public PipelineConfig clone() { + return (PipelineConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/ReleaseConfig.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/ReleaseConfig.java index dacd1e879bc..2eaf23b4911 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/ReleaseConfig.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/ReleaseConfig.java @@ -97,9 +97,9 @@ public final class ReleaseConfig extends com.google.api.client.json.GenericJson /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -263,9 +263,9 @@ public ReleaseConfig setReleaseCompilationResult(java.lang.String releaseCompila /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { @@ -274,9 +274,9 @@ public java.lang.String getTimeZone() { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @param timeZone timeZone or {@code null} for none */ public ReleaseConfig setTimeZone(java.lang.String timeZone) { diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowConfig.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowConfig.java index fd4d7c61e62..2c1f956f478 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowConfig.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowConfig.java @@ -97,9 +97,9 @@ public final class WorkflowConfig extends com.google.api.client.json.GenericJson /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -113,8 +113,8 @@ public final class WorkflowConfig extends com.google.api.client.json.GenericJson private String updateTime; /** - * Optional. Optional trigger configuration for this workflow. If present, the workflow will be - * triggered based on the specified triggers. + * Optional. Trigger configuration for this workflow. If present, the workflow will be triggered + * based on the specified triggers. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -266,9 +266,9 @@ public WorkflowConfig setReleaseConfig(java.lang.String releaseConfig) { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @return value or {@code null} for none */ public java.lang.String getTimeZone() { @@ -277,9 +277,9 @@ public java.lang.String getTimeZone() { /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time - * zone name from the time zone database - * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the - * default is UTC. + * zone name from the [time zone + * database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + * the default is `UTC`. * @param timeZone timeZone or {@code null} for none */ public WorkflowConfig setTimeZone(java.lang.String timeZone) { @@ -305,8 +305,8 @@ public WorkflowConfig setUpdateTime(String updateTime) { } /** - * Optional. Optional trigger configuration for this workflow. If present, the workflow will be - * triggered based on the specified triggers. + * Optional. Trigger configuration for this workflow. If present, the workflow will be triggered + * based on the specified triggers. * @return value or {@code null} for none */ public WorkflowTriggerConfig getWorkflowTriggerConfig() { @@ -314,8 +314,8 @@ public WorkflowTriggerConfig getWorkflowTriggerConfig() { } /** - * Optional. Optional trigger configuration for this workflow. If present, the workflow will be - * triggered based on the specified triggers. + * Optional. Trigger configuration for this workflow. If present, the workflow will be triggered + * based on the specified triggers. * @param workflowTriggerConfig workflowTriggerConfig or {@code null} for none */ public WorkflowConfig setWorkflowTriggerConfig(WorkflowTriggerConfig workflowTriggerConfig) { diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowInvocation.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowInvocation.java index 73984c77ba6..c05000cb74d 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowInvocation.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowInvocation.java @@ -73,6 +73,14 @@ public final class WorkflowInvocation extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PipelineConfig pipelineConfig; + /** * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` * resource is `user_scoped` only if it is sourced from a compilation result and the compilation @@ -211,6 +219,25 @@ public WorkflowInvocation setName(java.lang.String name) { return this; } + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @return value or {@code null} for none + */ + public PipelineConfig getPipelineConfig() { + return pipelineConfig; + } + + /** + * Output only. The pipeline options which defines the pipeline type and path within the Git + * repository. + * @param pipelineConfig pipelineConfig or {@code null} for none + */ + public WorkflowInvocation setPipelineConfig(PipelineConfig pipelineConfig) { + this.pipelineConfig = pipelineConfig; + return this; + } + /** * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` * resource is `user_scoped` only if it is sourced from a compilation result and the compilation diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowTriggerConfig.java b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowTriggerConfig.java index c211025433c..a1f79e56824 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowTriggerConfig.java +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowTriggerConfig.java @@ -53,7 +53,8 @@ public final class WorkflowTriggerConfig extends com.google.api.client.json.Gene /** * Optional. Minimum duration between two consecutive executions. If not specified, the workflow - * will be executed every time trigger conditions are met and no ongoing workflow execution. + * will be executed every time trigger conditions are met and there is no ongoing workflow + * execution. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -142,7 +143,8 @@ public WorkflowTriggerConfig setMaxWaitDuration(String maxWaitDuration) { /** * Optional. Minimum duration between two consecutive executions. If not specified, the workflow - * will be executed every time trigger conditions are met and no ongoing workflow execution. + * will be executed every time trigger conditions are met and there is no ongoing workflow + * execution. * @return value or {@code null} for none */ public String getMinExecutionDuration() { @@ -151,7 +153,8 @@ public String getMinExecutionDuration() { /** * Optional. Minimum duration between two consecutive executions. If not specified, the workflow - * will be executed every time trigger conditions are met and no ongoing workflow execution. + * will be executed every time trigger conditions are met and there is no ongoing workflow + * execution. * @param minExecutionDuration minExecutionDuration or {@code null} for none */ public WorkflowTriggerConfig setMinExecutionDuration(String minExecutionDuration) { diff --git a/clients/google-api-services-dataform/v1beta1/2.0.0/pom.xml b/clients/google-api-services-dataform/v1beta1/2.0.0/pom.xml index 75172156845..5f9b8c64a89 100644 --- a/clients/google-api-services-dataform/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-dataform/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@