Skip to content

Commit 35caa6c

Browse files
1 parent cf1a9d2 commit 35caa6c

File tree

6 files changed

+264
-6
lines changed

6 files changed

+264
-6
lines changed

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

clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ResourceStatus.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public final class ResourceStatus extends com.google.api.client.json.GenericJson
3838
@com.google.api.client.util.Key
3939
private java.lang.String physicalHost;
4040

41+
/**
42+
* [Output Only] A series of fields containing the global name of the Compute Engine cluster, as
43+
* well as the ID of the block, sub-block, and host on which the running instance is located.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private ResourceStatusPhysicalHostTopology physicalHostTopology;
48+
4149
/**
4250
* The value may be {@code null}.
4351
*/
@@ -69,6 +77,25 @@ public ResourceStatus setPhysicalHost(java.lang.String physicalHost) {
6977
return this;
7078
}
7179

80+
/**
81+
* [Output Only] A series of fields containing the global name of the Compute Engine cluster, as
82+
* well as the ID of the block, sub-block, and host on which the running instance is located.
83+
* @return value or {@code null} for none
84+
*/
85+
public ResourceStatusPhysicalHostTopology getPhysicalHostTopology() {
86+
return physicalHostTopology;
87+
}
88+
89+
/**
90+
* [Output Only] A series of fields containing the global name of the Compute Engine cluster, as
91+
* well as the ID of the block, sub-block, and host on which the running instance is located.
92+
* @param physicalHostTopology physicalHostTopology or {@code null} for none
93+
*/
94+
public ResourceStatus setPhysicalHostTopology(ResourceStatusPhysicalHostTopology physicalHostTopology) {
95+
this.physicalHostTopology = physicalHostTopology;
96+
return this;
97+
}
98+
7299
/**
73100
* @return value or {@code null} for none
74101
*/
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.compute.model;
18+
19+
/**
20+
* Represents the physical host topology of the host on which the VM is running.
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 ResourceStatusPhysicalHostTopology extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* [Output Only] The ID of the block in which the running instance is located. Instances within
34+
* the same block experience low network latency.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String block;
39+
40+
/**
41+
* [Output Only] The global name of the Compute Engine cluster where the running instance is
42+
* located.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String cluster;
47+
48+
/**
49+
* [Output Only] The ID of the host on which the running instance is located. Instances on the
50+
* same host experience the lowest possible network latency.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String host;
55+
56+
/**
57+
* [Output Only] The ID of the sub-block in which the running instance is located. Instances in
58+
* the same sub-block experience lower network latency than instances in the same block.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String subblock;
63+
64+
/**
65+
* [Output Only] The ID of the block in which the running instance is located. Instances within
66+
* the same block experience low network latency.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getBlock() {
70+
return block;
71+
}
72+
73+
/**
74+
* [Output Only] The ID of the block in which the running instance is located. Instances within
75+
* the same block experience low network latency.
76+
* @param block block or {@code null} for none
77+
*/
78+
public ResourceStatusPhysicalHostTopology setBlock(java.lang.String block) {
79+
this.block = block;
80+
return this;
81+
}
82+
83+
/**
84+
* [Output Only] The global name of the Compute Engine cluster where the running instance is
85+
* located.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getCluster() {
89+
return cluster;
90+
}
91+
92+
/**
93+
* [Output Only] The global name of the Compute Engine cluster where the running instance is
94+
* located.
95+
* @param cluster cluster or {@code null} for none
96+
*/
97+
public ResourceStatusPhysicalHostTopology setCluster(java.lang.String cluster) {
98+
this.cluster = cluster;
99+
return this;
100+
}
101+
102+
/**
103+
* [Output Only] The ID of the host on which the running instance is located. Instances on the
104+
* same host experience the lowest possible network latency.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.String getHost() {
108+
return host;
109+
}
110+
111+
/**
112+
* [Output Only] The ID of the host on which the running instance is located. Instances on the
113+
* same host experience the lowest possible network latency.
114+
* @param host host or {@code null} for none
115+
*/
116+
public ResourceStatusPhysicalHostTopology setHost(java.lang.String host) {
117+
this.host = host;
118+
return this;
119+
}
120+
121+
/**
122+
* [Output Only] The ID of the sub-block in which the running instance is located. Instances in
123+
* the same sub-block experience lower network latency than instances in the same block.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.String getSubblock() {
127+
return subblock;
128+
}
129+
130+
/**
131+
* [Output Only] The ID of the sub-block in which the running instance is located. Instances in
132+
* the same sub-block experience lower network latency than instances in the same block.
133+
* @param subblock subblock or {@code null} for none
134+
*/
135+
public ResourceStatusPhysicalHostTopology setSubblock(java.lang.String subblock) {
136+
this.subblock = subblock;
137+
return this;
138+
}
139+
140+
@Override
141+
public ResourceStatusPhysicalHostTopology set(String fieldName, Object value) {
142+
return (ResourceStatusPhysicalHostTopology) super.set(fieldName, value);
143+
}
144+
145+
@Override
146+
public ResourceStatusPhysicalHostTopology clone() {
147+
return (ResourceStatusPhysicalHostTopology) super.clone();
148+
}
149+
150+
}

clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Subnetwork.java

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,19 @@ public final class Subnetwork extends com.google.api.client.json.GenericJson {
107107
@com.google.api.client.util.Key
108108
private java.lang.String ipCidrRange;
109109

110+
/**
111+
* Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
112+
* sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
113+
* a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
114+
* resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
115+
* /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
116+
* projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
117+
* regions/region/publicDelegatedPrefixes/sub-pdp-name
118+
* The value may be {@code null}.
119+
*/
120+
@com.google.api.client.util.Key
121+
private java.lang.String ipCollection;
122+
110123
/**
111124
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified
112125
* during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
@@ -122,6 +135,18 @@ public final class Subnetwork extends com.google.api.client.json.GenericJson {
122135
@com.google.api.client.util.Key
123136
private java.lang.String ipv6CidrRange;
124137

138+
/**
139+
* [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
140+
* The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
141+
* Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
142+
* to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
143+
* Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
144+
* types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
145+
* The value may be {@code null}.
146+
*/
147+
@com.google.api.client.util.Key
148+
private java.lang.String ipv6GceEndpoint;
149+
125150
/**
126151
* [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
127152
* The value may be {@code null}.
@@ -468,6 +493,35 @@ public Subnetwork setIpCidrRange(java.lang.String ipCidrRange) {
468493
return this;
469494
}
470495

496+
/**
497+
* Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
498+
* sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
499+
* a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
500+
* resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
501+
* /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
502+
* projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
503+
* regions/region/publicDelegatedPrefixes/sub-pdp-name
504+
* @return value or {@code null} for none
505+
*/
506+
public java.lang.String getIpCollection() {
507+
return ipCollection;
508+
}
509+
510+
/**
511+
* Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
512+
* sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
513+
* a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
514+
* resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
515+
* /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
516+
* projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
517+
* regions/region/publicDelegatedPrefixes/sub-pdp-name
518+
* @param ipCollection ipCollection or {@code null} for none
519+
*/
520+
public Subnetwork setIpCollection(java.lang.String ipCollection) {
521+
this.ipCollection = ipCollection;
522+
return this;
523+
}
524+
471525
/**
472526
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified
473527
* during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
@@ -504,6 +558,33 @@ public Subnetwork setIpv6CidrRange(java.lang.String ipv6CidrRange) {
504558
return this;
505559
}
506560

561+
/**
562+
* [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
563+
* The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
564+
* Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
565+
* to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
566+
* Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
567+
* types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
568+
* @return value or {@code null} for none
569+
*/
570+
public java.lang.String getIpv6GceEndpoint() {
571+
return ipv6GceEndpoint;
572+
}
573+
574+
/**
575+
* [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
576+
* The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
577+
* Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
578+
* to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
579+
* Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
580+
* types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
581+
* @param ipv6GceEndpoint ipv6GceEndpoint or {@code null} for none
582+
*/
583+
public Subnetwork setIpv6GceEndpoint(java.lang.String ipv6GceEndpoint) {
584+
this.ipv6GceEndpoint = ipv6GceEndpoint;
585+
return this;
586+
}
587+
507588
/**
508589
* [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
509590
* @return value or {@code null} for none

clients/google-api-services-compute/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-compute</artifactId>
11-
<version>v1-rev20250224-2.0.0</version>
12-
<name>Compute Engine API v1-rev20250224-2.0.0</name>
11+
<version>v1-rev20250302-2.0.0</version>
12+
<name>Compute Engine API v1-rev20250302-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)