Skip to content

Commit 1917e78

Browse files
1 parent a1b4e27 commit 1917e78

File tree

5 files changed

+180
-6
lines changed

5 files changed

+180
-6
lines changed

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

clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/PrivatePoolV1Config.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class PrivatePoolV1Config extends com.google.api.client.json.Generi
3636
@com.google.api.client.util.Key
3737
private NetworkConfig networkConfig;
3838

39+
/**
40+
* Immutable. Private Service Connect(PSC) Network configuration for the pool.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private PrivateServiceConnect privateServiceConnect;
45+
3946
/**
4047
* Machine configuration for the workers in the pool.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public PrivatePoolV1Config setNetworkConfig(NetworkConfig networkConfig) {
6067
return this;
6168
}
6269

70+
/**
71+
* Immutable. Private Service Connect(PSC) Network configuration for the pool.
72+
* @return value or {@code null} for none
73+
*/
74+
public PrivateServiceConnect getPrivateServiceConnect() {
75+
return privateServiceConnect;
76+
}
77+
78+
/**
79+
* Immutable. Private Service Connect(PSC) Network configuration for the pool.
80+
* @param privateServiceConnect privateServiceConnect or {@code null} for none
81+
*/
82+
public PrivatePoolV1Config setPrivateServiceConnect(PrivateServiceConnect privateServiceConnect) {
83+
this.privateServiceConnect = privateServiceConnect;
84+
return this;
85+
}
86+
6387
/**
6488
* Machine configuration for the workers in the pool.
6589
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
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.cloudbuild.v1.model;
18+
19+
/**
20+
* Defines the Private Service Connect network configuration for the pool.
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 Cloud Build 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 PrivateServiceConnect extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Immutable. The network attachment that the worker network interface is peered to.
34+
* Must be in the format
35+
* `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of
36+
* network attachment must be the same as the worker pool. See [Network
37+
* Attachments](https://cloud.google.com/vpc/docs/about-network-attachments)
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String networkAttachment;
42+
43+
/**
44+
* Required. Immutable. Disable public IP on the primary network interface. If true, workers are
45+
* created without any public address, which prevents network egress to public IPs unless a
46+
* network proxy is configured. If false, workers are created with a public address which allows
47+
* for public internet egress. The public address only applies to traffic through the primary
48+
* network interface. If `route_all_traffic` is set to true, all traffic will go through the non-
49+
* primary network interface, this boolean has no effect.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean publicIpAddressDisabled;
54+
55+
/**
56+
* Immutable. Route all traffic through PSC interface. Enable this if you want full control of
57+
* traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you
58+
* need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8,
59+
* 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.Boolean routeAllTraffic;
64+
65+
/**
66+
* Required. Immutable. The network attachment that the worker network interface is peered to.
67+
* Must be in the format
68+
* `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of
69+
* network attachment must be the same as the worker pool. See [Network
70+
* Attachments](https://cloud.google.com/vpc/docs/about-network-attachments)
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getNetworkAttachment() {
74+
return networkAttachment;
75+
}
76+
77+
/**
78+
* Required. Immutable. The network attachment that the worker network interface is peered to.
79+
* Must be in the format
80+
* `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of
81+
* network attachment must be the same as the worker pool. See [Network
82+
* Attachments](https://cloud.google.com/vpc/docs/about-network-attachments)
83+
* @param networkAttachment networkAttachment or {@code null} for none
84+
*/
85+
public PrivateServiceConnect setNetworkAttachment(java.lang.String networkAttachment) {
86+
this.networkAttachment = networkAttachment;
87+
return this;
88+
}
89+
90+
/**
91+
* Required. Immutable. Disable public IP on the primary network interface. If true, workers are
92+
* created without any public address, which prevents network egress to public IPs unless a
93+
* network proxy is configured. If false, workers are created with a public address which allows
94+
* for public internet egress. The public address only applies to traffic through the primary
95+
* network interface. If `route_all_traffic` is set to true, all traffic will go through the non-
96+
* primary network interface, this boolean has no effect.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.Boolean getPublicIpAddressDisabled() {
100+
return publicIpAddressDisabled;
101+
}
102+
103+
/**
104+
* Required. Immutable. Disable public IP on the primary network interface. If true, workers are
105+
* created without any public address, which prevents network egress to public IPs unless a
106+
* network proxy is configured. If false, workers are created with a public address which allows
107+
* for public internet egress. The public address only applies to traffic through the primary
108+
* network interface. If `route_all_traffic` is set to true, all traffic will go through the non-
109+
* primary network interface, this boolean has no effect.
110+
* @param publicIpAddressDisabled publicIpAddressDisabled or {@code null} for none
111+
*/
112+
public PrivateServiceConnect setPublicIpAddressDisabled(java.lang.Boolean publicIpAddressDisabled) {
113+
this.publicIpAddressDisabled = publicIpAddressDisabled;
114+
return this;
115+
}
116+
117+
/**
118+
* Immutable. Route all traffic through PSC interface. Enable this if you want full control of
119+
* traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you
120+
* need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8,
121+
* 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.Boolean getRouteAllTraffic() {
125+
return routeAllTraffic;
126+
}
127+
128+
/**
129+
* Immutable. Route all traffic through PSC interface. Enable this if you want full control of
130+
* traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you
131+
* need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8,
132+
* 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.
133+
* @param routeAllTraffic routeAllTraffic or {@code null} for none
134+
*/
135+
public PrivateServiceConnect setRouteAllTraffic(java.lang.Boolean routeAllTraffic) {
136+
this.routeAllTraffic = routeAllTraffic;
137+
return this;
138+
}
139+
140+
@Override
141+
public PrivateServiceConnect set(String fieldName, Object value) {
142+
return (PrivateServiceConnect) super.set(fieldName, value);
143+
}
144+
145+
@Override
146+
public PrivateServiceConnect clone() {
147+
return (PrivateServiceConnect) super.clone();
148+
}
149+
150+
}

clients/google-api-services-cloudbuild/v1/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-cloudbuild</artifactId>
11-
<version>v1-rev20240923-2.0.0</version>
12-
<name>Cloud Build API v1-rev20240923-2.0.0</name>
11+
<version>v1-rev20241025-2.0.0</version>
12+
<name>Cloud Build API v1-rev20241025-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)