Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dataform</artifactId>
<version>v1beta1-rev20260802-2.0.0</version>
<version>v1beta1-rev20260819-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-dataform:v1beta1-rev20260802-2.0.0'
implementation 'com.google.apis:google-api-services-dataform:v1beta1-rev20260819-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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;

/**
* Contains metadata about a branch.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class BranchMetadata extends com.google.api.client.json.GenericJson {

/**
* The branch name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String branchName;

/**
* The last commit on the branch.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CommitLogEntry lastCommit;

/**
* The branch name.
* @return value or {@code null} for none
*/
public java.lang.String getBranchName() {
return branchName;
}

/**
* The branch name.
* @param branchName branchName or {@code null} for none
*/
public BranchMetadata setBranchName(java.lang.String branchName) {
this.branchName = branchName;
return this;
}

/**
* The last commit on the branch.
* @return value or {@code null} for none
*/
public CommitLogEntry getLastCommit() {
return lastCommit;
}

/**
* The last commit on the branch.
* @param lastCommit lastCommit or {@code null} for none
*/
public BranchMetadata setLastCommit(CommitLogEntry lastCommit) {
this.lastCommit = lastCommit;
return this;
}

@Override
public BranchMetadata set(String fieldName, Object value) {
return (BranchMetadata) super.set(fieldName, value);
}

@Override
public BranchMetadata clone() {
return (BranchMetadata) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*
* 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;

/**
* `CheckoutWorkspaceBranch` request message.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class CheckoutWorkspaceBranchRequest extends com.google.api.client.json.GenericJson {

/**
* Required. The name of the branch in the Git repository to which the workspace should be checked
* out.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String branch;

/**
* Optional. If set to true and the branch does not exist, it will be created. Otherwise, an error
* will be thrown.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean createIfNotExists;

/**
* Optional. The name of the branch in the Git repository from which the new branch should be
* created. If left unset, the workspace's current branch name will be used. Accepts only branch
* names from FetchWorkspaceBranches response, and can only be set if `create_if_not_exists` is
* true. Oherwise, an error will be thrown.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sourceBranch;

/**
* Required. The name of the branch in the Git repository to which the workspace should be checked
* out.
* @return value or {@code null} for none
*/
public java.lang.String getBranch() {
return branch;
}

/**
* Required. The name of the branch in the Git repository to which the workspace should be checked
* out.
* @param branch branch or {@code null} for none
*/
public CheckoutWorkspaceBranchRequest setBranch(java.lang.String branch) {
this.branch = branch;
return this;
}

/**
* Optional. If set to true and the branch does not exist, it will be created. Otherwise, an error
* will be thrown.
* @return value or {@code null} for none
*/
public java.lang.Boolean getCreateIfNotExists() {
return createIfNotExists;
}

/**
* Optional. If set to true and the branch does not exist, it will be created. Otherwise, an error
* will be thrown.
* @param createIfNotExists createIfNotExists or {@code null} for none
*/
public CheckoutWorkspaceBranchRequest setCreateIfNotExists(java.lang.Boolean createIfNotExists) {
this.createIfNotExists = createIfNotExists;
return this;
}

/**
* Optional. The name of the branch in the Git repository from which the new branch should be
* created. If left unset, the workspace's current branch name will be used. Accepts only branch
* names from FetchWorkspaceBranches response, and can only be set if `create_if_not_exists` is
* true. Oherwise, an error will be thrown.
* @return value or {@code null} for none
*/
public java.lang.String getSourceBranch() {
return sourceBranch;
}

/**
* Optional. The name of the branch in the Git repository from which the new branch should be
* created. If left unset, the workspace's current branch name will be used. Accepts only branch
* names from FetchWorkspaceBranches response, and can only be set if `create_if_not_exists` is
* true. Oherwise, an error will be thrown.
* @param sourceBranch sourceBranch or {@code null} for none
*/
public CheckoutWorkspaceBranchRequest setSourceBranch(java.lang.String sourceBranch) {
this.sourceBranch = sourceBranch;
return this;
}

@Override
public CheckoutWorkspaceBranchRequest set(String fieldName, Object value) {
return (CheckoutWorkspaceBranchRequest) super.set(fieldName, value);
}

@Override
public CheckoutWorkspaceBranchRequest clone() {
return (CheckoutWorkspaceBranchRequest) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* 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;

/**
* `DeleteBranch` request message.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DeleteBranchRequest extends com.google.api.client.json.GenericJson {

/**
* Required. The name of the branch in the Git repository to delete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String branch;

/**
* Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch
* name will be the same as the branch to delete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean force;

/**
* Required. The name of the branch in the Git repository to delete.
* @return value or {@code null} for none
*/
public java.lang.String getBranch() {
return branch;
}

/**
* Required. The name of the branch in the Git repository to delete.
* @param branch branch or {@code null} for none
*/
public DeleteBranchRequest setBranch(java.lang.String branch) {
this.branch = branch;
return this;
}

/**
* Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch
* name will be the same as the branch to delete.
* @return value or {@code null} for none
*/
public java.lang.Boolean getForce() {
return force;
}

/**
* Optional. If set to true, any non-pushed commits on the branch will be deleted. Upstream branch
* name will be the same as the branch to delete.
* @param force force or {@code null} for none
*/
public DeleteBranchRequest setForce(java.lang.Boolean force) {
this.force = force;
return this;
}

@Override
public DeleteBranchRequest set(String fieldName, Object value) {
return (DeleteBranchRequest) super.set(fieldName, value);
}

@Override
public DeleteBranchRequest clone() {
return (DeleteBranchRequest) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* 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;

/**
* `DeleteBranch` response message.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DeleteBranchResponse extends com.google.api.client.json.GenericJson {

@Override
public DeleteBranchResponse set(String fieldName, Object value) {
return (DeleteBranchResponse) super.set(fieldName, value);
}

@Override
public DeleteBranchResponse clone() {
return (DeleteBranchResponse) super.clone();
}

}
Loading
Loading