Skip to content

Commit 97c5863

Browse files
1 parent 8dd2356 commit 97c5863

15 files changed

+1342
-269
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-rev20250119-2.0.0</version>
25+
<version>v1-rev20250126-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-rev20250119-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:v1-rev20250126-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 998 additions & 102 deletions
Large diffs are not rendered by default.

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

Lines changed: 154 additions & 103 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public final class CommitmentsScopedList extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* [Output Only] A list of commitments contained in this scope.
33+
* [Output Only] The list of commitments contained in this scope.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -51,15 +51,15 @@ public final class CommitmentsScopedList extends com.google.api.client.json.Gene
5151
private Warning warning;
5252

5353
/**
54-
* [Output Only] A list of commitments contained in this scope.
54+
* [Output Only] The list of commitments contained in this scope.
5555
* @return value or {@code null} for none
5656
*/
5757
public java.util.List<Commitment> getCommitments() {
5858
return commitments;
5959
}
6060

6161
/**
62-
* [Output Only] A list of commitments contained in this scope.
62+
* [Output Only] The list of commitments contained in this scope.
6363
* @param commitments commitments or {@code null} for none
6464
*/
6565
public CommitmentsScopedList setCommitments(java.util.List<Commitment> commitments) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ public final class FirewallPolicy extends com.google.api.client.json.GenericJson
9898
@com.google.api.client.util.Key
9999
private java.lang.String name;
100100

101+
/**
102+
* A list of packet mirroring rules that belong to this policy.
103+
* The value may be {@code null}.
104+
*/
105+
@com.google.api.client.util.Key
106+
private java.util.List<FirewallPolicyRule> packetMirroringRules;
107+
101108
/**
102109
* [Output Only] The parent of the firewall policy. This field is not applicable to network
103110
* firewall policies.
@@ -359,6 +366,23 @@ public FirewallPolicy setName(java.lang.String name) {
359366
return this;
360367
}
361368

369+
/**
370+
* A list of packet mirroring rules that belong to this policy.
371+
* @return value or {@code null} for none
372+
*/
373+
public java.util.List<FirewallPolicyRule> getPacketMirroringRules() {
374+
return packetMirroringRules;
375+
}
376+
377+
/**
378+
* A list of packet mirroring rules that belong to this policy.
379+
* @param packetMirroringRules packetMirroringRules or {@code null} for none
380+
*/
381+
public FirewallPolicy setPacketMirroringRules(java.util.List<FirewallPolicyRule> packetMirroringRules) {
382+
this.packetMirroringRules = packetMirroringRules;
383+
return this;
384+
}
385+
362386
/**
363387
* [Output Only] The parent of the firewall policy. This field is not applicable to network
364388
* firewall policies.

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@ public final class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
4444
@com.google.api.client.util.Key
4545
private java.lang.String name;
4646

47+
/**
48+
* [Output Only] The packet mirroring rules that apply to the instance.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<FirewallPolicyRule> packetMirroringRules;
53+
54+
static {
55+
// hack to force ProGuard to consider FirewallPolicyRule used, since otherwise it would be stripped out
56+
// see https://github.com/google/google-api-java-client/issues/543
57+
com.google.api.client.util.Data.nullOf(FirewallPolicyRule.class);
58+
}
59+
4760
/**
4861
* [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
4962
* The value may be {@code null}.
@@ -117,6 +130,23 @@ public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setName(jav
117130
return this;
118131
}
119132

133+
/**
134+
* [Output Only] The packet mirroring rules that apply to the instance.
135+
* @return value or {@code null} for none
136+
*/
137+
public java.util.List<FirewallPolicyRule> getPacketMirroringRules() {
138+
return packetMirroringRules;
139+
}
140+
141+
/**
142+
* [Output Only] The packet mirroring rules that apply to the instance.
143+
* @param packetMirroringRules packetMirroringRules or {@code null} for none
144+
*/
145+
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setPacketMirroringRules(java.util.List<FirewallPolicyRule> packetMirroringRules) {
146+
this.packetMirroringRules = packetMirroringRules;
147+
return this;
148+
}
149+
120150
/**
121151
* [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
122152
* @return value or {@code null} for none

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,36 +30,36 @@
3030
public final class LicenseResourceCommitment extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The number of licenses purchased.
33+
* The number of licenses you plan to purchase.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
3737
private java.lang.Long amount;
3838

3939
/**
40-
* Specifies the core range of the instance for which this license applies.
40+
* The number of cores per license.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private java.lang.String coresPerLicense;
4545

4646
/**
47-
* Any applicable license URI.
47+
* The applicable license URI.
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key
5151
private java.lang.String license;
5252

5353
/**
54-
* The number of licenses purchased.
54+
* The number of licenses you plan to purchase.
5555
* @return value or {@code null} for none
5656
*/
5757
public java.lang.Long getAmount() {
5858
return amount;
5959
}
6060

6161
/**
62-
* The number of licenses purchased.
62+
* The number of licenses you plan to purchase.
6363
* @param amount amount or {@code null} for none
6464
*/
6565
public LicenseResourceCommitment setAmount(java.lang.Long amount) {
@@ -68,15 +68,15 @@ public LicenseResourceCommitment setAmount(java.lang.Long amount) {
6868
}
6969

7070
/**
71-
* Specifies the core range of the instance for which this license applies.
71+
* The number of cores per license.
7272
* @return value or {@code null} for none
7373
*/
7474
public java.lang.String getCoresPerLicense() {
7575
return coresPerLicense;
7676
}
7777

7878
/**
79-
* Specifies the core range of the instance for which this license applies.
79+
* The number of cores per license.
8080
* @param coresPerLicense coresPerLicense or {@code null} for none
8181
*/
8282
public LicenseResourceCommitment setCoresPerLicense(java.lang.String coresPerLicense) {
@@ -85,15 +85,15 @@ public LicenseResourceCommitment setCoresPerLicense(java.lang.String coresPerLic
8585
}
8686

8787
/**
88-
* Any applicable license URI.
88+
* The applicable license URI.
8989
* @return value or {@code null} for none
9090
*/
9191
public java.lang.String getLicense() {
9292
return license;
9393
}
9494

9595
/**
96-
* Any applicable license URI.
96+
* The applicable license URI.
9797
* @param license license or {@code null} for none
9898
*/
9999
public LicenseResourceCommitment setLicense(java.lang.String license) {

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ public final class NetworkProfile extends com.google.api.client.json.GenericJson
9292
@com.google.api.client.util.Key
9393
private java.lang.String selfLinkWithId;
9494

95-
/**
96-
* [Output Only] Zone to which the network is restricted.
97-
* The value may be {@code null}.
98-
*/
99-
@com.google.api.client.util.Key
100-
private java.lang.String zone;
101-
10295
/**
10396
* [Output Only] Creation timestamp in RFC3339 text format.
10497
* @return value or {@code null} for none
@@ -252,23 +245,6 @@ public NetworkProfile setSelfLinkWithId(java.lang.String selfLinkWithId) {
252245
return this;
253246
}
254247

255-
/**
256-
* [Output Only] Zone to which the network is restricted.
257-
* @return value or {@code null} for none
258-
*/
259-
public java.lang.String getZone() {
260-
return zone;
261-
}
262-
263-
/**
264-
* [Output Only] Zone to which the network is restricted.
265-
* @param zone zone or {@code null} for none
266-
*/
267-
public NetworkProfile setZone(java.lang.String zone) {
268-
this.zone = zone;
269-
return this;
270-
}
271-
272248
@Override
273249
public NetworkProfile set(String fieldName, Object value) {
274250
return (NetworkProfile) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@ public final class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
4444
@com.google.api.client.util.Key
4545
private java.lang.String name;
4646

47+
/**
48+
* [Output Only] The packet mirroring rules that apply to the network.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<FirewallPolicyRule> packetMirroringRules;
53+
54+
static {
55+
// hack to force ProGuard to consider FirewallPolicyRule used, since otherwise it would be stripped out
56+
// see https://github.com/google/google-api-java-client/issues/543
57+
com.google.api.client.util.Data.nullOf(FirewallPolicyRule.class);
58+
}
59+
4760
/**
4861
* [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
4962
* The value may be {@code null}.
@@ -114,6 +127,23 @@ public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy setName(java
114127
return this;
115128
}
116129

130+
/**
131+
* [Output Only] The packet mirroring rules that apply to the network.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.util.List<FirewallPolicyRule> getPacketMirroringRules() {
135+
return packetMirroringRules;
136+
}
137+
138+
/**
139+
* [Output Only] The packet mirroring rules that apply to the network.
140+
* @param packetMirroringRules packetMirroringRules or {@code null} for none
141+
*/
142+
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy setPacketMirroringRules(java.util.List<FirewallPolicyRule> packetMirroringRules) {
143+
this.packetMirroringRules = packetMirroringRules;
144+
return this;
145+
}
146+
117147
/**
118148
* [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
119149
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ public final class NodeType extends com.google.api.client.json.GenericJson {
8888
@com.google.api.client.util.Key
8989
private java.lang.Integer localSsdGb;
9090

91+
/**
92+
* [Output Only] Maximum number of VMs that can be created for this node type.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private java.lang.Integer maxVms;
97+
9198
/**
9299
* [Output Only] The amount of physical memory available to the node type, defined in MB.
93100
* The value may be {@code null}.
@@ -252,6 +259,23 @@ public NodeType setLocalSsdGb(java.lang.Integer localSsdGb) {
252259
return this;
253260
}
254261

262+
/**
263+
* [Output Only] Maximum number of VMs that can be created for this node type.
264+
* @return value or {@code null} for none
265+
*/
266+
public java.lang.Integer getMaxVms() {
267+
return maxVms;
268+
}
269+
270+
/**
271+
* [Output Only] Maximum number of VMs that can be created for this node type.
272+
* @param maxVms maxVms or {@code null} for none
273+
*/
274+
public NodeType setMaxVms(java.lang.Integer maxVms) {
275+
this.maxVms = maxVms;
276+
return this;
277+
}
278+
255279
/**
256280
* [Output Only] The amount of physical memory available to the node type, defined in MB.
257281
* @return value or {@code null} for none

0 commit comments

Comments
 (0)