Skip to content

Commit f1c213b

Browse files
1 parent 05035a3 commit f1c213b

File tree

12 files changed

+1045
-18
lines changed

12 files changed

+1045
-18
lines changed

clients/google-api-services-developerconnect/v1/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-developerconnect</artifactId>
25-
<version>v1-rev20240822-2.0.0</version>
25+
<version>v1-rev20240926-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-developerconnect:v1-rev20240822-2.0.0'
38+
implementation 'com.google.apis:google-api-services-developerconnect:v1-rev20240926-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/DeveloperConnect.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,28 +1839,28 @@ public Patch setRequestId(java.lang.String requestId) {
18391839
}
18401840

18411841
/**
1842-
* Required. Field mask is used to specify the fields to be overwritten in the Connection
1843-
* resource by the update. The fields specified in the update_mask are relative to the
1844-
* resource, not the full request. A field will be overwritten if it is in the mask. If
1845-
* the user does not provide a mask then all fields will be overwritten.
1842+
* Optional. Required. Field mask is used to specify the fields to be overwritten in the
1843+
* Connection resource by the update. The fields specified in the update_mask are relative
1844+
* to the resource, not the full request. A field will be overwritten if it is in the
1845+
* mask. If the user does not provide a mask then all fields will be overwritten.
18461846
*/
18471847
@com.google.api.client.util.Key
18481848
private String updateMask;
18491849

1850-
/** Required. Field mask is used to specify the fields to be overwritten in the Connection resource by
1851-
the update. The fields specified in the update_mask are relative to the resource, not the full
1852-
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
1853-
all fields will be overwritten.
1850+
/** Optional. Required. Field mask is used to specify the fields to be overwritten in the Connection
1851+
resource by the update. The fields specified in the update_mask are relative to the resource, not
1852+
the full request. A field will be overwritten if it is in the mask. If the user does not provide a
1853+
mask then all fields will be overwritten.
18541854
*/
18551855
public String getUpdateMask() {
18561856
return updateMask;
18571857
}
18581858

18591859
/**
1860-
* Required. Field mask is used to specify the fields to be overwritten in the Connection
1861-
* resource by the update. The fields specified in the update_mask are relative to the
1862-
* resource, not the full request. A field will be overwritten if it is in the mask. If
1863-
* the user does not provide a mask then all fields will be overwritten.
1860+
* Optional. Required. Field mask is used to specify the fields to be overwritten in the
1861+
* Connection resource by the update. The fields specified in the update_mask are relative
1862+
* to the resource, not the full request. A field will be overwritten if it is in the
1863+
* mask. If the user does not provide a mask then all fields will be overwritten.
18641864
*/
18651865
public Patch setUpdateMask(String updateMask) {
18661866
this.updateMask = updateMask;

clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/Connection.java

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class Connection extends com.google.api.client.json.GenericJson {
4444
@com.google.api.client.util.Key
4545
private String createTime;
4646

47+
/**
48+
* Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption
49+
* Keys (CMEK) feature.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private CryptoKeyConfig cryptoKeyConfig;
54+
4755
/**
4856
* Output only. [Output only] Delete timestamp
4957
* The value may be {@code null}.
@@ -75,6 +83,27 @@ public final class Connection extends com.google.api.client.json.GenericJson {
7583
@com.google.api.client.util.Key
7684
private GitHubConfig githubConfig;
7785

86+
/**
87+
* Configuration for connections to an instance of GitHub Enterprise.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private GitHubEnterpriseConfig githubEnterpriseConfig;
92+
93+
/**
94+
* Configuration for connections to gitlab.com.
95+
* The value may be {@code null}.
96+
*/
97+
@com.google.api.client.util.Key
98+
private GitLabConfig gitlabConfig;
99+
100+
/**
101+
* Configuration for connections to an instance of GitLab Enterprise.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private GitLabEnterpriseConfig gitlabEnterpriseConfig;
106+
78107
/**
79108
* Output only. Installation state of the Connection.
80109
* The value may be {@code null}.
@@ -152,6 +181,25 @@ public Connection setCreateTime(String createTime) {
152181
return this;
153182
}
154183

184+
/**
185+
* Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption
186+
* Keys (CMEK) feature.
187+
* @return value or {@code null} for none
188+
*/
189+
public CryptoKeyConfig getCryptoKeyConfig() {
190+
return cryptoKeyConfig;
191+
}
192+
193+
/**
194+
* Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption
195+
* Keys (CMEK) feature.
196+
* @param cryptoKeyConfig cryptoKeyConfig or {@code null} for none
197+
*/
198+
public Connection setCryptoKeyConfig(CryptoKeyConfig cryptoKeyConfig) {
199+
this.cryptoKeyConfig = cryptoKeyConfig;
200+
return this;
201+
}
202+
155203
/**
156204
* Output only. [Output only] Delete timestamp
157205
* @return value or {@code null} for none
@@ -226,6 +274,57 @@ public Connection setGithubConfig(GitHubConfig githubConfig) {
226274
return this;
227275
}
228276

277+
/**
278+
* Configuration for connections to an instance of GitHub Enterprise.
279+
* @return value or {@code null} for none
280+
*/
281+
public GitHubEnterpriseConfig getGithubEnterpriseConfig() {
282+
return githubEnterpriseConfig;
283+
}
284+
285+
/**
286+
* Configuration for connections to an instance of GitHub Enterprise.
287+
* @param githubEnterpriseConfig githubEnterpriseConfig or {@code null} for none
288+
*/
289+
public Connection setGithubEnterpriseConfig(GitHubEnterpriseConfig githubEnterpriseConfig) {
290+
this.githubEnterpriseConfig = githubEnterpriseConfig;
291+
return this;
292+
}
293+
294+
/**
295+
* Configuration for connections to gitlab.com.
296+
* @return value or {@code null} for none
297+
*/
298+
public GitLabConfig getGitlabConfig() {
299+
return gitlabConfig;
300+
}
301+
302+
/**
303+
* Configuration for connections to gitlab.com.
304+
* @param gitlabConfig gitlabConfig or {@code null} for none
305+
*/
306+
public Connection setGitlabConfig(GitLabConfig gitlabConfig) {
307+
this.gitlabConfig = gitlabConfig;
308+
return this;
309+
}
310+
311+
/**
312+
* Configuration for connections to an instance of GitLab Enterprise.
313+
* @return value or {@code null} for none
314+
*/
315+
public GitLabEnterpriseConfig getGitlabEnterpriseConfig() {
316+
return gitlabEnterpriseConfig;
317+
}
318+
319+
/**
320+
* Configuration for connections to an instance of GitLab Enterprise.
321+
* @param gitlabEnterpriseConfig gitlabEnterpriseConfig or {@code null} for none
322+
*/
323+
public Connection setGitlabEnterpriseConfig(GitLabEnterpriseConfig gitlabEnterpriseConfig) {
324+
this.gitlabEnterpriseConfig = gitlabEnterpriseConfig;
325+
return this;
326+
}
327+
229328
/**
230329
* Output only. Installation state of the Connection.
231330
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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.developerconnect.v1.model;
18+
19+
/**
20+
* The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK)
21+
* feature.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Developer Connect API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class CryptoKeyConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud
36+
* KMS, the key should be in the format of `projects/locations/keyRings/cryptoKeys`.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String keyReference;
41+
42+
/**
43+
* Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud
44+
* KMS, the key should be in the format of `projects/locations/keyRings/cryptoKeys`.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getKeyReference() {
48+
return keyReference;
49+
}
50+
51+
/**
52+
* Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud
53+
* KMS, the key should be in the format of `projects/locations/keyRings/cryptoKeys`.
54+
* @param keyReference keyReference or {@code null} for none
55+
*/
56+
public CryptoKeyConfig setKeyReference(java.lang.String keyReference) {
57+
this.keyReference = keyReference;
58+
return this;
59+
}
60+
61+
@Override
62+
public CryptoKeyConfig set(String fieldName, Object value) {
63+
return (CryptoKeyConfig) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public CryptoKeyConfig clone() {
68+
return (CryptoKeyConfig) super.clone();
69+
}
70+
71+
}

0 commit comments

Comments
 (0)