Skip to content

Commit 56d68a5

Browse files
1 parent 1917e78 commit 56d68a5

File tree

11 files changed

+160
-57
lines changed

11 files changed

+160
-57
lines changed

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

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

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -59830,7 +59830,7 @@ public AddAccessConfig set(String parameterName, Object value) {
5983059830
}
5983159831
}
5983259832
/**
59833-
* Adds a network interface to an instance.
59833+
* Adds one dynamic network interface to an active instance.
5983459834
*
5983559835
* Create a request for the method "instances.addNetworkInterface".
5983659836
*
@@ -59861,7 +59861,7 @@ public class AddNetworkInterface extends ComputeRequest<com.google.api.services.
5986159861
java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
5986259862

5986359863
/**
59864-
* Adds a network interface to an instance.
59864+
* Adds one dynamic network interface to an active instance.
5986559865
*
5986659866
* Create a request for the method "instances.addNetworkInterface".
5986759867
*
@@ -61731,10 +61731,10 @@ public DeleteAccessConfig set(String parameterName, Object value) {
6173161731
}
6173261732
}
6173361733
/**
61734-
* Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest
61735-
* indicates: - instance from which to delete, using project+zone+resource_id fields; - network
61736-
* interface to be deleted, using network_interface_name field; Only VLAN interface deletion is
61737-
* supported for now.
61734+
* Deletes one dynamic network interface from an active instance.
61735+
* InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using
61736+
* project+zone+resource_id fields; - dynamic network interface to be deleted, using
61737+
* network_interface_name field;
6173861738
*
6173961739
* Create a request for the method "instances.deleteNetworkInterface".
6174061740
*
@@ -61746,8 +61746,7 @@ public DeleteAccessConfig set(String parameterName, Object value) {
6174661746
* @param zone The name of the zone for this request.
6174761747
* @param instance The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an
6174861748
* unsigned long integer.
61749-
* @param networkInterfaceName The name of the network interface to be deleted from the instance. Only VLAN network interface
61750-
* deletion is supported.
61749+
* @param networkInterfaceName The name of the dynamic network interface to be deleted from the instance.
6175161750
* @return the request
6175261751
*/
6175361752
public DeleteNetworkInterface deleteNetworkInterface(java.lang.String project, java.lang.String zone, java.lang.String instance, java.lang.String networkInterfaceName) throws java.io.IOException {
@@ -61767,10 +61766,10 @@ public class DeleteNetworkInterface extends ComputeRequest<com.google.api.servic
6176761766
java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
6176861767

6176961768
/**
61770-
* Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest
61771-
* indicates: - instance from which to delete, using project+zone+resource_id fields; - network
61772-
* interface to be deleted, using network_interface_name field; Only VLAN interface deletion is
61773-
* supported for now.
61769+
* Deletes one dynamic network interface from an active instance.
61770+
* InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using
61771+
* project+zone+resource_id fields; - dynamic network interface to be deleted, using
61772+
* network_interface_name field;
6177461773
*
6177561774
* Create a request for the method "instances.deleteNetworkInterface".
6177661775
*
@@ -61784,8 +61783,7 @@ public class DeleteNetworkInterface extends ComputeRequest<com.google.api.servic
6178461783
* @param zone The name of the zone for this request.
6178561784
* @param instance The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an
6178661785
* unsigned long integer.
61787-
* @param networkInterfaceName The name of the network interface to be deleted from the instance. Only VLAN network interface
61788-
* deletion is supported.
61786+
* @param networkInterfaceName The name of the dynamic network interface to be deleted from the instance.
6178961787
* @since 1.13
6179061788
*/
6179161789
protected DeleteNetworkInterface(java.lang.String project, java.lang.String zone, java.lang.String instance, java.lang.String networkInterfaceName) {
@@ -61931,24 +61929,17 @@ public DeleteNetworkInterface setInstance(java.lang.String instance) {
6193161929
return this;
6193261930
}
6193361931

61934-
/**
61935-
* The name of the network interface to be deleted from the instance. Only VLAN network
61936-
* interface deletion is supported.
61937-
*/
61932+
/** The name of the dynamic network interface to be deleted from the instance. */
6193861933
@com.google.api.client.util.Key
6193961934
private java.lang.String networkInterfaceName;
6194061935

61941-
/** The name of the network interface to be deleted from the instance. Only VLAN network interface
61942-
deletion is supported.
61936+
/** The name of the dynamic network interface to be deleted from the instance.
6194361937
*/
6194461938
public java.lang.String getNetworkInterfaceName() {
6194561939
return networkInterfaceName;
6194661940
}
6194761941

61948-
/**
61949-
* The name of the network interface to be deleted from the instance. Only VLAN network
61950-
* interface deletion is supported.
61951-
*/
61942+
/** The name of the dynamic network interface to be deleted from the instance. */
6195261943
public DeleteNetworkInterface setNetworkInterfaceName(java.lang.String networkInterfaceName) {
6195361944
this.networkInterfaceName = networkInterfaceName;
6195461945
return this;
@@ -63842,7 +63833,8 @@ public GetSerialPortOutput setPort(java.lang.Integer port) {
6384263833
* the adjusted start position is returned as the `start` property value. You can also provide
6384363834
* a negative start position, which translates to the most recent number of bytes written to
6384463835
* the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the
63845-
* serial console.
63836+
* serial console. Note that the negative start is bounded by the retained buffer size, and
63837+
* the returned serial console output will not exceed the max buffer size.
6384663838
*/
6384763839
@com.google.api.client.util.Key
6384863840
private java.lang.Long start;
@@ -63855,7 +63847,9 @@ amount of serial console output exceeds the size of the buffer (1 MB), the oldes
6385563847
the start position is adjusted to the oldest output still available, and the adjusted start
6385663848
position is returned as the `start` property value. You can also provide a negative start position,
6385763849
which translates to the most recent number of bytes written to the serial port. For example, -3 is
63858-
interpreted as the most recent 3 bytes written to the serial console.
63850+
interpreted as the most recent 3 bytes written to the serial console. Note that the negative start
63851+
is bounded by the retained buffer size, and the returned serial console output will not exceed the
63852+
max buffer size.
6385963853
*/
6386063854
public java.lang.Long getStart() {
6386163855
return start;
@@ -63871,7 +63865,8 @@ public java.lang.Long getStart() {
6387163865
* the adjusted start position is returned as the `start` property value. You can also provide
6387263866
* a negative start position, which translates to the most recent number of bytes written to
6387363867
* the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the
63874-
* serial console.
63868+
* serial console. Note that the negative start is bounded by the retained buffer size, and
63869+
* the returned serial console output will not exceed the max buffer size.
6387563870
*/
6387663871
public GetSerialPortOutput setStart(java.lang.Long start) {
6387763872
this.start = start;

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public final class BackendBucketCdnPolicy extends com.google.api.client.json.Gen
5555
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
5656
* content, including common image formats, media (video and audio), and web assets (JavaScript
5757
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
58-
* (including HTML), will not be cached.
58+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
59+
* defaults to CACHE_ALL_STATIC.
5960
* The value may be {@code null}.
6061
*/
6162
@com.google.api.client.util.Key
@@ -216,7 +217,8 @@ public BackendBucketCdnPolicy setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPo
216217
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
217218
* content, including common image formats, media (video and audio), and web assets (JavaScript
218219
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
219-
* (including HTML), will not be cached.
220+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
221+
* defaults to CACHE_ALL_STATIC.
220222
* @return value or {@code null} for none
221223
*/
222224
public java.lang.String getCacheMode() {
@@ -233,7 +235,8 @@ public java.lang.String getCacheMode() {
233235
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
234236
* content, including common image formats, media (video and audio), and web assets (JavaScript
235237
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
236-
* (including HTML), will not be cached.
238+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
239+
* defaults to CACHE_ALL_STATIC.
237240
* @param cacheMode cacheMode or {@code null} for none
238241
*/
239242
public BackendBucketCdnPolicy setCacheMode(java.lang.String cacheMode) {

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public final class BackendServiceCdnPolicy extends com.google.api.client.json.Ge
5555
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
5656
* content, including common image formats, media (video and audio), and web assets (JavaScript
5757
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
58-
* (including HTML), will not be cached.
58+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
59+
* defaults to CACHE_ALL_STATIC.
5960
* The value may be {@code null}.
6061
*/
6162
@com.google.api.client.util.Key
@@ -216,7 +217,8 @@ public BackendServiceCdnPolicy setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
216217
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
217218
* content, including common image formats, media (video and audio), and web assets (JavaScript
218219
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
219-
* (including HTML), will not be cached.
220+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
221+
* defaults to CACHE_ALL_STATIC.
220222
* @return value or {@code null} for none
221223
*/
222224
public java.lang.String getCacheMode() {
@@ -233,7 +235,8 @@ public java.lang.String getCacheMode() {
233235
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
234236
* content, including common image formats, media (video and audio), and web assets (JavaScript
235237
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
236-
* (including HTML), will not be cached.
238+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
239+
* defaults to CACHE_ALL_STATIC.
237240
* @param cacheMode cacheMode or {@code null} for none
238241
*/
239242
public BackendServiceCdnPolicy setCacheMode(java.lang.String cacheMode) {

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/NetworkInterface.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ public final class NetworkInterface extends com.google.api.client.json.GenericJs
171171
private java.lang.String nicType;
172172

173173
/**
174-
* Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must
175-
* be set.
174+
* Name of the parent network interface of a dynamic network interface.
176175
* The value may be {@code null}.
177176
*/
178177
@com.google.api.client.util.Key
@@ -218,8 +217,7 @@ public final class NetworkInterface extends com.google.api.client.json.GenericJs
218217
private java.lang.String subnetwork;
219218

220219
/**
221-
* VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This
222-
* field is mandatory if the parent network interface name is set.
220+
* VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively.
223221
* The value may be {@code null}.
224222
*/
225223
@com.google.api.client.util.Key
@@ -548,17 +546,15 @@ public NetworkInterface setNicType(java.lang.String nicType) {
548546
}
549547

550548
/**
551-
* Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must
552-
* be set.
549+
* Name of the parent network interface of a dynamic network interface.
553550
* @return value or {@code null} for none
554551
*/
555552
public java.lang.String getParentNicName() {
556553
return parentNicName;
557554
}
558555

559556
/**
560-
* Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must
561-
* be set.
557+
* Name of the parent network interface of a dynamic network interface.
562558
* @param parentNicName parentNicName or {@code null} for none
563559
*/
564560
public NetworkInterface setParentNicName(java.lang.String parentNicName) {
@@ -657,17 +653,15 @@ public NetworkInterface setSubnetwork(java.lang.String subnetwork) {
657653
}
658654

659655
/**
660-
* VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This
661-
* field is mandatory if the parent network interface name is set.
656+
* VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively.
662657
* @return value or {@code null} for none
663658
*/
664659
public java.lang.Integer getVlan() {
665660
return vlan;
666661
}
667662

668663
/**
669-
* VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This
670-
* field is mandatory if the parent network interface name is set.
664+
* VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively.
671665
* @param vlan vlan or {@code null} for none
672666
*/
673667
public NetworkInterface setVlan(java.lang.Integer vlan) {

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/NetworkProfile.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ public final class NetworkProfile extends com.google.api.client.json.GenericJson
6464
@com.google.api.client.util.Key
6565
private java.lang.String kind;
6666

67+
/**
68+
* [Output Only] Location to which the network is restricted.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private NetworkProfileLocation location;
73+
6774
/**
6875
* [Output Only] Name of the resource.
6976
* The value may be {@code null}.
@@ -177,6 +184,23 @@ public NetworkProfile setKind(java.lang.String kind) {
177184
return this;
178185
}
179186

187+
/**
188+
* [Output Only] Location to which the network is restricted.
189+
* @return value or {@code null} for none
190+
*/
191+
public NetworkProfileLocation getLocation() {
192+
return location;
193+
}
194+
195+
/**
196+
* [Output Only] Location to which the network is restricted.
197+
* @param location location or {@code null} for none
198+
*/
199+
public NetworkProfile setLocation(NetworkProfileLocation location) {
200+
this.location = location;
201+
return this;
202+
}
203+
180204
/**
181205
* [Output Only] Name of the resource.
182206
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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 NetworkProfileLocation.
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 NetworkProfileLocation extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The value may be {@code null}.
34+
*/
35+
@com.google.api.client.util.Key
36+
private java.lang.String name;
37+
38+
/**
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String scope;
43+
44+
/**
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getName() {
48+
return name;
49+
}
50+
51+
/**
52+
* @param name name or {@code null} for none
53+
*/
54+
public NetworkProfileLocation setName(java.lang.String name) {
55+
this.name = name;
56+
return this;
57+
}
58+
59+
/**
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getScope() {
63+
return scope;
64+
}
65+
66+
/**
67+
* @param scope scope or {@code null} for none
68+
*/
69+
public NetworkProfileLocation setScope(java.lang.String scope) {
70+
this.scope = scope;
71+
return this;
72+
}
73+
74+
@Override
75+
public NetworkProfileLocation set(String fieldName, Object value) {
76+
return (NetworkProfileLocation) super.set(fieldName, value);
77+
}
78+
79+
@Override
80+
public NetworkProfileLocation clone() {
81+
return (NetworkProfileLocation) super.clone();
82+
}
83+
84+
}

0 commit comments

Comments
 (0)