Skip to content

Commit 51a098a

Browse files
1 parent 1c5787f commit 51a098a

28 files changed

+2828
-180
lines changed

clients/google-api-services-compute/beta/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-compute</artifactId>
25-
<version>beta-rev20241201-2.0.0</version>
25+
<version>beta-rev20241231-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-compute:beta-rev20241201-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:beta-rev20241231-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java

Lines changed: 413 additions & 0 deletions
Large diffs are not rendered by default.

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/AccessConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public final class AccessConfig extends com.google.api.client.json.GenericJson {
9696
private java.lang.String publicPtrDomainName;
9797

9898
/**
99-
* [Output Only] The resource URL for the security policy associated with this access config.
99+
* The resource URL for the security policy associated with this access config.
100100
* The value may be {@code null}.
101101
*/
102102
@com.google.api.client.util.Key
@@ -271,15 +271,15 @@ public AccessConfig setPublicPtrDomainName(java.lang.String publicPtrDomainName)
271271
}
272272

273273
/**
274-
* [Output Only] The resource URL for the security policy associated with this access config.
274+
* The resource URL for the security policy associated with this access config.
275275
* @return value or {@code null} for none
276276
*/
277277
public java.lang.String getSecurityPolicy() {
278278
return securityPolicy;
279279
}
280280

281281
/**
282-
* [Output Only] The resource URL for the security policy associated with this access config.
282+
* The resource URL for the security policy associated with this access config.
283283
* @param securityPolicy securityPolicy or {@code null} for none
284284
*/
285285
public AccessConfig setSecurityPolicy(java.lang.String securityPolicy) {

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/AttachedDiskInitializeParams.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ public final class AttachedDiskInitializeParams extends com.google.api.client.js
214214
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
215215
* create a disk with a snapshot that you created, specify the snapshot name in the following
216216
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
217-
* be set.
217+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
218+
* instead when you create VMs using the bulk insert method.
218219
* The value may be {@code null}.
219220
*/
220221
@com.google.api.client.util.Key
@@ -651,7 +652,8 @@ public AttachedDiskInitializeParams setSourceInstantSnapshot(java.lang.String so
651652
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
652653
* create a disk with a snapshot that you created, specify the snapshot name in the following
653654
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
654-
* be set.
655+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
656+
* instead when you create VMs using the bulk insert method.
655657
* @return value or {@code null} for none
656658
*/
657659
public java.lang.String getSourceSnapshot() {
@@ -663,7 +665,8 @@ public java.lang.String getSourceSnapshot() {
663665
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
664666
* create a disk with a snapshot that you created, specify the snapshot name in the following
665667
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
666-
* be set.
668+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
669+
* instead when you create VMs using the bulk insert method.
667670
* @param sourceSnapshot sourceSnapshot or {@code null} for none
668671
*/
669672
public AttachedDiskInitializeParams setSourceSnapshot(java.lang.String sourceSnapshot) {

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendService.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,14 @@ public final class BackendService extends com.google.api.client.json.GenericJson
506506
@com.google.api.client.util.Key
507507
private java.lang.Integer timeoutSec;
508508

509+
/**
510+
* Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend
511+
* protocol is SSL, HTTPS or HTTP2.
512+
* The value may be {@code null}.
513+
*/
514+
@com.google.api.client.util.Key
515+
private BackendServiceTlsSettings tlsSettings;
516+
509517
/**
510518
* [Output Only] List of resources referencing given backend service.
511519
* The value may be {@code null}.
@@ -1613,6 +1621,25 @@ public BackendService setTimeoutSec(java.lang.Integer timeoutSec) {
16131621
return this;
16141622
}
16151623

1624+
/**
1625+
* Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend
1626+
* protocol is SSL, HTTPS or HTTP2.
1627+
* @return value or {@code null} for none
1628+
*/
1629+
public BackendServiceTlsSettings getTlsSettings() {
1630+
return tlsSettings;
1631+
}
1632+
1633+
/**
1634+
* Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend
1635+
* protocol is SSL, HTTPS or HTTP2.
1636+
* @param tlsSettings tlsSettings or {@code null} for none
1637+
*/
1638+
public BackendService setTlsSettings(BackendServiceTlsSettings tlsSettings) {
1639+
this.tlsSettings = tlsSettings;
1640+
return this;
1641+
}
1642+
16161643
/**
16171644
* [Output Only] List of resources referencing given backend service.
16181645
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
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.compute.model;
18+
19+
/**
20+
* Model definition for BackendServiceTlsSettings.
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 Compute Engine 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 BackendServiceTlsSettings extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com
34+
* namespace. Can be used in authenticating TLS connections to the backend, as specified by the
35+
* authenticationMode field. Can only be specified if authenticationMode is not NONE.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String authenticationConfig;
40+
41+
/**
42+
* Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string
43+
* as the SNI hostname in the TLS connection to the backend, and requires that this string match a
44+
* Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet
45+
* NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the
46+
* Regional Internet NEG is specified with FQDN or IP address and port. When both sni and
47+
* subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only
48+
* to subjectAltNames[].
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String sni;
53+
54+
/**
55+
* A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS
56+
* handshake with the backend. When the server presents its X.509 certificate to the Load
57+
* Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least
58+
* one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When
59+
* both sni and subjectAltNames[] are specified, the load balancer matches the backend
60+
* certificate's SAN only to subjectAltNames[].
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.util.List<BackendServiceTlsSettingsSubjectAltName> subjectAltNames;
65+
66+
/**
67+
* Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com
68+
* namespace. Can be used in authenticating TLS connections to the backend, as specified by the
69+
* authenticationMode field. Can only be specified if authenticationMode is not NONE.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getAuthenticationConfig() {
73+
return authenticationConfig;
74+
}
75+
76+
/**
77+
* Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com
78+
* namespace. Can be used in authenticating TLS connections to the backend, as specified by the
79+
* authenticationMode field. Can only be specified if authenticationMode is not NONE.
80+
* @param authenticationConfig authenticationConfig or {@code null} for none
81+
*/
82+
public BackendServiceTlsSettings setAuthenticationConfig(java.lang.String authenticationConfig) {
83+
this.authenticationConfig = authenticationConfig;
84+
return this;
85+
}
86+
87+
/**
88+
* Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string
89+
* as the SNI hostname in the TLS connection to the backend, and requires that this string match a
90+
* Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet
91+
* NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the
92+
* Regional Internet NEG is specified with FQDN or IP address and port. When both sni and
93+
* subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only
94+
* to subjectAltNames[].
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.String getSni() {
98+
return sni;
99+
}
100+
101+
/**
102+
* Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string
103+
* as the SNI hostname in the TLS connection to the backend, and requires that this string match a
104+
* Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet
105+
* NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the
106+
* Regional Internet NEG is specified with FQDN or IP address and port. When both sni and
107+
* subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only
108+
* to subjectAltNames[].
109+
* @param sni sni or {@code null} for none
110+
*/
111+
public BackendServiceTlsSettings setSni(java.lang.String sni) {
112+
this.sni = sni;
113+
return this;
114+
}
115+
116+
/**
117+
* A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS
118+
* handshake with the backend. When the server presents its X.509 certificate to the Load
119+
* Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least
120+
* one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When
121+
* both sni and subjectAltNames[] are specified, the load balancer matches the backend
122+
* certificate's SAN only to subjectAltNames[].
123+
* @return value or {@code null} for none
124+
*/
125+
public java.util.List<BackendServiceTlsSettingsSubjectAltName> getSubjectAltNames() {
126+
return subjectAltNames;
127+
}
128+
129+
/**
130+
* A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS
131+
* handshake with the backend. When the server presents its X.509 certificate to the Load
132+
* Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least
133+
* one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When
134+
* both sni and subjectAltNames[] are specified, the load balancer matches the backend
135+
* certificate's SAN only to subjectAltNames[].
136+
* @param subjectAltNames subjectAltNames or {@code null} for none
137+
*/
138+
public BackendServiceTlsSettings setSubjectAltNames(java.util.List<BackendServiceTlsSettingsSubjectAltName> subjectAltNames) {
139+
this.subjectAltNames = subjectAltNames;
140+
return this;
141+
}
142+
143+
@Override
144+
public BackendServiceTlsSettings set(String fieldName, Object value) {
145+
return (BackendServiceTlsSettings) super.set(fieldName, value);
146+
}
147+
148+
@Override
149+
public BackendServiceTlsSettings clone() {
150+
return (BackendServiceTlsSettings) super.clone();
151+
}
152+
153+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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.compute.model;
18+
19+
/**
20+
* A Subject Alternative Name that the load balancer matches against the SAN field in the TLS
21+
* certificate provided by the backend, specified as either a DNS name or a URI, in accordance with
22+
* RFC 5280 4.2.1.6
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation 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 BackendServiceTlsSettingsSubjectAltName extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The SAN specified as a DNS Name.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String dnsName;
40+
41+
/**
42+
* The SAN specified as a URI.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String uniformResourceIdentifier;
47+
48+
/**
49+
* The SAN specified as a DNS Name.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getDnsName() {
53+
return dnsName;
54+
}
55+
56+
/**
57+
* The SAN specified as a DNS Name.
58+
* @param dnsName dnsName or {@code null} for none
59+
*/
60+
public BackendServiceTlsSettingsSubjectAltName setDnsName(java.lang.String dnsName) {
61+
this.dnsName = dnsName;
62+
return this;
63+
}
64+
65+
/**
66+
* The SAN specified as a URI.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getUniformResourceIdentifier() {
70+
return uniformResourceIdentifier;
71+
}
72+
73+
/**
74+
* The SAN specified as a URI.
75+
* @param uniformResourceIdentifier uniformResourceIdentifier or {@code null} for none
76+
*/
77+
public BackendServiceTlsSettingsSubjectAltName setUniformResourceIdentifier(java.lang.String uniformResourceIdentifier) {
78+
this.uniformResourceIdentifier = uniformResourceIdentifier;
79+
return this;
80+
}
81+
82+
@Override
83+
public BackendServiceTlsSettingsSubjectAltName set(String fieldName, Object value) {
84+
return (BackendServiceTlsSettingsSubjectAltName) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public BackendServiceTlsSettingsSubjectAltName clone() {
89+
return (BackendServiceTlsSettingsSubjectAltName) super.clone();
90+
}
91+
92+
}

0 commit comments

Comments
 (0)