Skip to content

Commit cf9a7d0

Browse files
1 parent f0a6a80 commit cf9a7d0

File tree

10 files changed

+275
-8
lines changed

10 files changed

+275
-8
lines changed

clients/google-api-services-dataform/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dataform</artifactId>
25-
<version>v1beta1-rev20240420-2.0.0</version>
25+
<version>v1beta1-rev20240427-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dataform:v1beta1-rev20240420-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataform:v1beta1-rev20240427-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/Dataform.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ public Commit commit(java.lang.String name, com.google.api.services.dataform.v1b
10711071
return result;
10721072
}
10731073

1074-
public class Commit extends DataformRequest<com.google.api.services.dataform.v1beta1.model.Empty> {
1074+
public class Commit extends DataformRequest<com.google.api.services.dataform.v1beta1.model.CommitRepositoryChangesResponse> {
10751075

10761076
private static final String REST_PATH = "v1beta1/{+name}:commit";
10771077

@@ -1095,7 +1095,7 @@ public class Commit extends DataformRequest<com.google.api.services.dataform.v1b
10951095
* @since 1.13
10961096
*/
10971097
protected Commit(java.lang.String name, com.google.api.services.dataform.v1beta1.model.CommitRepositoryChangesRequest content) {
1098-
super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1beta1.model.Empty.class);
1098+
super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1beta1.model.CommitRepositoryChangesResponse.class);
10991099
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
11001100
if (!getSuppressPatternChecks()) {
11011101
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataform.v1beta1.model;
18+
19+
/**
20+
* `CommitRepositoryChanges` response message.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataform API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class CommitRepositoryChangesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The commit SHA of the current commit.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String commitSha;
38+
39+
/**
40+
* The commit SHA of the current commit.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getCommitSha() {
44+
return commitSha;
45+
}
46+
47+
/**
48+
* The commit SHA of the current commit.
49+
* @param commitSha commitSha or {@code null} for none
50+
*/
51+
public CommitRepositoryChangesResponse setCommitSha(java.lang.String commitSha) {
52+
this.commitSha = commitSha;
53+
return this;
54+
}
55+
56+
@Override
57+
public CommitRepositoryChangesResponse set(String fieldName, Object value) {
58+
return (CommitRepositoryChangesResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CommitRepositoryChangesResponse clone() {
63+
return (CommitRepositoryChangesResponse) super.clone();
64+
}
65+
66+
}

clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/CompilationResult.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public final class CompilationResult extends com.google.api.client.json.GenericJ
5050
com.google.api.client.util.Data.nullOf(CompilationError.class);
5151
}
5252

53+
/**
54+
* Output only. Only set if the repository has a KMS Key.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private DataEncryptionState dataEncryptionState;
59+
5360
/**
5461
* Output only. The version of `@dataform/core` that was used for compilation.
5562
* The value may be {@code null}.
@@ -133,6 +140,23 @@ public CompilationResult setCompilationErrors(java.util.List<CompilationError> c
133140
return this;
134141
}
135142

143+
/**
144+
* Output only. Only set if the repository has a KMS Key.
145+
* @return value or {@code null} for none
146+
*/
147+
public DataEncryptionState getDataEncryptionState() {
148+
return dataEncryptionState;
149+
}
150+
151+
/**
152+
* Output only. Only set if the repository has a KMS Key.
153+
* @param dataEncryptionState dataEncryptionState or {@code null} for none
154+
*/
155+
public CompilationResult setDataEncryptionState(DataEncryptionState dataEncryptionState) {
156+
this.dataEncryptionState = dataEncryptionState;
157+
return this;
158+
}
159+
136160
/**
137161
* Output only. The version of `@dataform/core` that was used for compilation.
138162
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataform.v1beta1.model;
18+
19+
/**
20+
* Describes encryption state of a resource.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataform API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DataEncryptionState extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The KMS key version name with which data of a resource is encrypted.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String kmsKeyVersionName;
38+
39+
/**
40+
* The KMS key version name with which data of a resource is encrypted.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getKmsKeyVersionName() {
44+
return kmsKeyVersionName;
45+
}
46+
47+
/**
48+
* The KMS key version name with which data of a resource is encrypted.
49+
* @param kmsKeyVersionName kmsKeyVersionName or {@code null} for none
50+
*/
51+
public DataEncryptionState setKmsKeyVersionName(java.lang.String kmsKeyVersionName) {
52+
this.kmsKeyVersionName = kmsKeyVersionName;
53+
return this;
54+
}
55+
56+
@Override
57+
public DataEncryptionState set(String fieldName, Object value) {
58+
return (DataEncryptionState) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public DataEncryptionState clone() {
63+
return (DataEncryptionState) super.clone();
64+
}
65+
66+
}

clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/Repository.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public final class Repository extends com.google.api.client.json.GenericJson {
3636
@com.google.api.client.util.Key
3737
private String createTime;
3838

39+
/**
40+
* Output only. A data encryption state of a Git repository if this Repository is protected by a
41+
* KMS key.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private DataEncryptionState dataEncryptionState;
46+
3947
/**
4048
* Optional. The repository's user-friendly name.
4149
* The value may be {@code null}.
@@ -50,6 +58,16 @@ public final class Repository extends com.google.api.client.json.GenericJson {
5058
@com.google.api.client.util.Key
5159
private GitRemoteSettings gitRemoteSettings;
5260

61+
/**
62+
* Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user
63+
* data in the repository and all child resources. It is not possible to add or update the
64+
* encryption key after the repository is created. Example:
65+
* `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String kmsKeyName;
70+
5371
/**
5472
* Optional. Repository user labels.
5573
* The value may be {@code null}.
@@ -116,6 +134,25 @@ public Repository setCreateTime(String createTime) {
116134
return this;
117135
}
118136

137+
/**
138+
* Output only. A data encryption state of a Git repository if this Repository is protected by a
139+
* KMS key.
140+
* @return value or {@code null} for none
141+
*/
142+
public DataEncryptionState getDataEncryptionState() {
143+
return dataEncryptionState;
144+
}
145+
146+
/**
147+
* Output only. A data encryption state of a Git repository if this Repository is protected by a
148+
* KMS key.
149+
* @param dataEncryptionState dataEncryptionState or {@code null} for none
150+
*/
151+
public Repository setDataEncryptionState(DataEncryptionState dataEncryptionState) {
152+
this.dataEncryptionState = dataEncryptionState;
153+
return this;
154+
}
155+
119156
/**
120157
* Optional. The repository's user-friendly name.
121158
* @return value or {@code null} for none
@@ -150,6 +187,29 @@ public Repository setGitRemoteSettings(GitRemoteSettings gitRemoteSettings) {
150187
return this;
151188
}
152189

190+
/**
191+
* Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user
192+
* data in the repository and all child resources. It is not possible to add or update the
193+
* encryption key after the repository is created. Example:
194+
* `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
195+
* @return value or {@code null} for none
196+
*/
197+
public java.lang.String getKmsKeyName() {
198+
return kmsKeyName;
199+
}
200+
201+
/**
202+
* Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user
203+
* data in the repository and all child resources. It is not possible to add or update the
204+
* encryption key after the repository is created. Example:
205+
* `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
206+
* @param kmsKeyName kmsKeyName or {@code null} for none
207+
*/
208+
public Repository setKmsKeyName(java.lang.String kmsKeyName) {
209+
this.kmsKeyName = kmsKeyName;
210+
return this;
211+
}
212+
153213
/**
154214
* Optional. Repository user labels.
155215
* @return value or {@code null} for none

clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/WorkflowInvocation.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class WorkflowInvocation extends com.google.api.client.json.Generic
3737
@com.google.api.client.util.Key
3838
private java.lang.String compilationResult;
3939

40+
/**
41+
* Output only. Only set if the repository has a KMS Key.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private DataEncryptionState dataEncryptionState;
46+
4047
/**
4148
* Immutable. If left unset, a default InvocationConfig will be used.
4249
* The value may be {@code null}.
@@ -100,6 +107,23 @@ public WorkflowInvocation setCompilationResult(java.lang.String compilationResul
100107
return this;
101108
}
102109

110+
/**
111+
* Output only. Only set if the repository has a KMS Key.
112+
* @return value or {@code null} for none
113+
*/
114+
public DataEncryptionState getDataEncryptionState() {
115+
return dataEncryptionState;
116+
}
117+
118+
/**
119+
* Output only. Only set if the repository has a KMS Key.
120+
* @param dataEncryptionState dataEncryptionState or {@code null} for none
121+
*/
122+
public WorkflowInvocation setDataEncryptionState(DataEncryptionState dataEncryptionState) {
123+
this.dataEncryptionState = dataEncryptionState;
124+
return this;
125+
}
126+
103127
/**
104128
* Immutable. If left unset, a default InvocationConfig will be used.
105129
* @return value or {@code null} for none

clients/google-api-services-dataform/v1beta1/2.0.0/com/google/api/services/dataform/v1beta1/model/Workspace.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,40 @@
2929
@SuppressWarnings("javadoc")
3030
public final class Workspace extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Output only. A data encryption state of a Git repository if this Workspace is protected by a
34+
* KMS key.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private DataEncryptionState dataEncryptionState;
39+
3240
/**
3341
* Identifier. The workspace's name.
3442
* The value may be {@code null}.
3543
*/
3644
@com.google.api.client.util.Key
3745
private java.lang.String name;
3846

47+
/**
48+
* Output only. A data encryption state of a Git repository if this Workspace is protected by a
49+
* KMS key.
50+
* @return value or {@code null} for none
51+
*/
52+
public DataEncryptionState getDataEncryptionState() {
53+
return dataEncryptionState;
54+
}
55+
56+
/**
57+
* Output only. A data encryption state of a Git repository if this Workspace is protected by a
58+
* KMS key.
59+
* @param dataEncryptionState dataEncryptionState or {@code null} for none
60+
*/
61+
public Workspace setDataEncryptionState(DataEncryptionState dataEncryptionState) {
62+
this.dataEncryptionState = dataEncryptionState;
63+
return this;
64+
}
65+
3966
/**
4067
* Identifier. The workspace's name.
4168
* @return value or {@code null} for none

clients/google-api-services-dataform/v1beta1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-dataform</artifactId>
11-
<version>v1beta1-rev20240420-2.0.0</version>
12-
<name>Dataform API v1beta1-rev20240420-2.0.0</name>
11+
<version>v1beta1-rev20240427-2.0.0</version>
12+
<name>Dataform API v1beta1-rev20240427-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)