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 827a1ba7c5f..d62abec49d7 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: com.google.apis google-api-services-dataform - v1-rev20261030-2.9.2 + v1-rev20261108-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-dataform:v1-rev20261030-2.9.2' + implementation 'com.google.apis:google-api-services-dataform:v1-rev20261108-2.9.2' } ``` diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java index 1f5d0d56cf4..3cfcaac93f4 100644 --- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java +++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java @@ -9707,6 +9707,169 @@ public Create set(String parameterName, Object value) { return (Create) super.set(parameterName, value); } } + /** + * Creates a new Workspace in a given Repository asynchronously. + * + * Create a request for the method "workspaces.createLongRunning". + * + * This request holds the parameters needed by the dataform server. After setting any optional + * parameters, call the {@link CreateLongRunning#execute()} method to invoke the remote operation. + * + * @param parent Required. The repository in which to create the workspace. Must be in the format + * `projects/locations/repositories`. + * @param content the {@link com.google.api.services.dataform.v1.model.Workspace} + * @return the request + */ + public CreateLongRunning createLongRunning(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) throws java.io.IOException { + CreateLongRunning result = new CreateLongRunning(parent, content); + initialize(result); + return result; + } + + public class CreateLongRunning extends DataformRequest { + + private static final String REST_PATH = "v1/{+parent}/workspaces:createLongRunning"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$"); + + /** + * Creates a new Workspace in a given Repository asynchronously. + * + * Create a request for the method "workspaces.createLongRunning". + * + * This request holds the parameters needed by the the dataform server. After setting any + * optional parameters, call the {@link CreateLongRunning#execute()} method to invoke the remote + * operation.

{@link CreateLongRunning#initialize(com.google.api.client.googleapis.services.Ab + * stractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param parent Required. The repository in which to create the workspace. Must be in the format + * `projects/locations/repositories`. + * @param content the {@link com.google.api.services.dataform.v1.model.Workspace} + * @since 1.13 + */ + protected CreateLongRunning(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) { + super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$"); + } + } + + @Override + public CreateLongRunning set$Xgafv(java.lang.String $Xgafv) { + return (CreateLongRunning) super.set$Xgafv($Xgafv); + } + + @Override + public CreateLongRunning setAccessToken(java.lang.String accessToken) { + return (CreateLongRunning) super.setAccessToken(accessToken); + } + + @Override + public CreateLongRunning setAlt(java.lang.String alt) { + return (CreateLongRunning) super.setAlt(alt); + } + + @Override + public CreateLongRunning setCallback(java.lang.String callback) { + return (CreateLongRunning) super.setCallback(callback); + } + + @Override + public CreateLongRunning setFields(java.lang.String fields) { + return (CreateLongRunning) super.setFields(fields); + } + + @Override + public CreateLongRunning setKey(java.lang.String key) { + return (CreateLongRunning) super.setKey(key); + } + + @Override + public CreateLongRunning setOauthToken(java.lang.String oauthToken) { + return (CreateLongRunning) super.setOauthToken(oauthToken); + } + + @Override + public CreateLongRunning setPrettyPrint(java.lang.Boolean prettyPrint) { + return (CreateLongRunning) super.setPrettyPrint(prettyPrint); + } + + @Override + public CreateLongRunning setQuotaUser(java.lang.String quotaUser) { + return (CreateLongRunning) super.setQuotaUser(quotaUser); + } + + @Override + public CreateLongRunning setUploadType(java.lang.String uploadType) { + return (CreateLongRunning) super.setUploadType(uploadType); + } + + @Override + public CreateLongRunning setUploadProtocol(java.lang.String uploadProtocol) { + return (CreateLongRunning) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The repository in which to create the workspace. Must be in the format + * `projects/locations/repositories`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The repository in which to create the workspace. Must be in the format + `projects/locations/repositories`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The repository in which to create the workspace. Must be in the format + * `projects/locations/repositories`. + */ + public CreateLongRunning setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. The ID to use for the workspace, which will become the final component of + * the workspace's resource name. + */ + @com.google.api.client.util.Key + private java.lang.String workspaceId; + + /** Required. The ID to use for the workspace, which will become the final component of the workspace's + resource name. + */ + public java.lang.String getWorkspaceId() { + return workspaceId; + } + + /** + * Required. The ID to use for the workspace, which will become the final component of + * the workspace's resource name. + */ + public CreateLongRunning setWorkspaceId(java.lang.String workspaceId) { + this.workspaceId = workspaceId; + return this; + } + + @Override + public CreateLongRunning set(String parameterName, Object value) { + return (CreateLongRunning) super.set(parameterName, value); + } + } /** * Deletes a single Workspace. * 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 de8addbd7e1..cbe5a6ed2fa 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 @@ com.google.apis google-api-services-dataform - v1-rev20261030-2.9.2 - Dataform API v1-rev20261030-2.9.2 + v1-rev20261108-2.9.2 + Dataform API v1-rev20261108-2.9.2 jar 2011 diff --git a/clients/google-api-services-dataform/v1/README.md b/clients/google-api-services-dataform/v1/README.md index 827a1ba7c5f..d62abec49d7 100644 --- a/clients/google-api-services-dataform/v1/README.md +++ b/clients/google-api-services-dataform/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-dataform - v1-rev20261030-2.9.2 + v1-rev20261108-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-dataform:v1-rev20261030-2.9.2' + implementation 'com.google.apis:google-api-services-dataform:v1-rev20261108-2.9.2' } ```