Skip to content

Commit 5b10c33

Browse files
1 parent a23299c commit 5b10c33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

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

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

Lines changed: 1910 additions & 38 deletions
Large diffs are not rendered by default.

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ public final class FirewallPolicyRuleMatcher extends com.google.api.client.json.
5353
@com.google.api.client.util.Key
5454
private java.util.List<java.lang.String> destIpRanges;
5555

56+
/**
57+
* Network context of the traffic destination. Allowed values are: - UNSPECIFIED
58+
* - INTERNET - NON_INTERNET
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String destNetworkContext;
63+
5664
/**
5765
* Network scope of the traffic destination.
5866
* The value may be {@code null}.
@@ -115,6 +123,14 @@ public final class FirewallPolicyRuleMatcher extends com.google.api.client.json.
115123
@com.google.api.client.util.Key
116124
private java.util.List<java.lang.String> srcIpRanges;
117125

126+
/**
127+
* Network context of the traffic source. Allowed values are: - UNSPECIFIED -
128+
* INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS
129+
* The value may be {@code null}.
130+
*/
131+
@com.google.api.client.util.Key
132+
private java.lang.String srcNetworkContext;
133+
118134
/**
119135
* Network scope of the traffic source.
120136
* The value may be {@code null}.
@@ -218,6 +234,25 @@ public FirewallPolicyRuleMatcher setDestIpRanges(java.util.List<java.lang.String
218234
return this;
219235
}
220236

237+
/**
238+
* Network context of the traffic destination. Allowed values are: - UNSPECIFIED
239+
* - INTERNET - NON_INTERNET
240+
* @return value or {@code null} for none
241+
*/
242+
public java.lang.String getDestNetworkContext() {
243+
return destNetworkContext;
244+
}
245+
246+
/**
247+
* Network context of the traffic destination. Allowed values are: - UNSPECIFIED
248+
* - INTERNET - NON_INTERNET
249+
* @param destNetworkContext destNetworkContext or {@code null} for none
250+
*/
251+
public FirewallPolicyRuleMatcher setDestNetworkContext(java.lang.String destNetworkContext) {
252+
this.destNetworkContext = destNetworkContext;
253+
return this;
254+
}
255+
221256
/**
222257
* Network scope of the traffic destination.
223258
* @return value or {@code null} for none
@@ -366,6 +401,25 @@ public FirewallPolicyRuleMatcher setSrcIpRanges(java.util.List<java.lang.String>
366401
return this;
367402
}
368403

404+
/**
405+
* Network context of the traffic source. Allowed values are: - UNSPECIFIED -
406+
* INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS
407+
* @return value or {@code null} for none
408+
*/
409+
public java.lang.String getSrcNetworkContext() {
410+
return srcNetworkContext;
411+
}
412+
413+
/**
414+
* Network context of the traffic source. Allowed values are: - UNSPECIFIED -
415+
* INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS
416+
* @param srcNetworkContext srcNetworkContext or {@code null} for none
417+
*/
418+
public FirewallPolicyRuleMatcher setSrcNetworkContext(java.lang.String srcNetworkContext) {
419+
this.srcNetworkContext = srcNetworkContext;
420+
return this;
421+
}
422+
369423
/**
370424
* Network scope of the traffic source.
371425
* @return value or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public final class HttpHeaderMatch extends com.google.api.client.json.GenericJso
117117
* set.
118118
*
119119
* Regular expressions can only be used when the loadBalancingScheme is set to
120-
* INTERNAL_SELF_MANAGED.
120+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
121121
* The value may be {@code null}.
122122
*/
123123
@com.google.api.client.util.Key
@@ -316,7 +316,7 @@ public HttpHeaderMatch setRangeMatch(Int64RangeMatch rangeMatch) {
316316
* set.
317317
*
318318
* Regular expressions can only be used when the loadBalancingScheme is set to
319-
* INTERNAL_SELF_MANAGED.
319+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
320320
* @return value or {@code null} for none
321321
*/
322322
public java.lang.String getRegexMatch() {
@@ -334,7 +334,7 @@ public java.lang.String getRegexMatch() {
334334
* set.
335335
*
336336
* Regular expressions can only be used when the loadBalancingScheme is set to
337-
* INTERNAL_SELF_MANAGED.
337+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
338338
* @param regexMatch regexMatch or {@code null} for none
339339
*/
340340
public HttpHeaderMatch setRegexMatch(java.lang.String regexMatch) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public final class HttpQueryParameterMatch extends com.google.api.client.json.Ge
6464
* Only one of presentMatch, exactMatch, orregexMatch must be set.
6565
*
6666
* Regular expressions can only be used when the loadBalancingScheme is set to
67-
* INTERNAL_SELF_MANAGED.
67+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
6868
* The value may be {@code null}.
6969
*/
7070
@com.google.api.client.util.Key
@@ -142,7 +142,7 @@ public HttpQueryParameterMatch setPresentMatch(java.lang.Boolean presentMatch) {
142142
* Only one of presentMatch, exactMatch, orregexMatch must be set.
143143
*
144144
* Regular expressions can only be used when the loadBalancingScheme is set to
145-
* INTERNAL_SELF_MANAGED.
145+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
146146
* @return value or {@code null} for none
147147
*/
148148
public java.lang.String getRegexMatch() {
@@ -156,7 +156,7 @@ public java.lang.String getRegexMatch() {
156156
* Only one of presentMatch, exactMatch, orregexMatch must be set.
157157
*
158158
* Regular expressions can only be used when the loadBalancingScheme is set to
159-
* INTERNAL_SELF_MANAGED.
159+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
160160
* @param regexMatch regexMatch or {@code null} for none
161161
*/
162162
public HttpQueryParameterMatch setRegexMatch(java.lang.String regexMatch) {

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

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class HttpRouteRuleMatch extends com.google.api.client.json.Generic
3737
*
3838
* fullPathMatch must be from 1 to 1024 characters.
3939
*
40-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
40+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
@@ -115,7 +115,8 @@ public final class HttpRouteRuleMatch extends com.google.api.client.json.Generic
115115
*
116116
* The value must be from 1 to 1024 characters.
117117
*
118-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
118+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
119+
* specified.
119120
* The value may be {@code null}.
120121
*/
121122
@com.google.api.client.util.Key
@@ -142,10 +143,10 @@ public final class HttpRouteRuleMatch extends com.google.api.client.json.Generic
142143
* expression specified inregexMatch after removing any query parameters and anchor supplied with
143144
* the original URL. For more information about regular expression syntax, see Syntax.
144145
*
145-
* Only one of prefixMatch, fullPathMatch orregexMatch must be specified.
146+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
146147
*
147148
* Regular expressions can only be used when the loadBalancingScheme is set to
148-
* INTERNAL_SELF_MANAGED.
149+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
149150
* The value may be {@code null}.
150151
*/
151152
@com.google.api.client.util.Key
@@ -158,7 +159,7 @@ public final class HttpRouteRuleMatch extends com.google.api.client.json.Generic
158159
*
159160
* fullPathMatch must be from 1 to 1024 characters.
160161
*
161-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
162+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
162163
* @return value or {@code null} for none
163164
*/
164165
public java.lang.String getFullPathMatch() {
@@ -172,7 +173,7 @@ public java.lang.String getFullPathMatch() {
172173
*
173174
* fullPathMatch must be from 1 to 1024 characters.
174175
*
175-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
176+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
176177
* @param fullPathMatch fullPathMatch or {@code null} for none
177178
*/
178179
public HttpRouteRuleMatch setFullPathMatch(java.lang.String fullPathMatch) {
@@ -318,7 +319,8 @@ public HttpRouteRuleMatch setPathTemplateMatch(java.lang.String pathTemplateMatc
318319
*
319320
* The value must be from 1 to 1024 characters.
320321
*
321-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
322+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
323+
* specified.
322324
* @return value or {@code null} for none
323325
*/
324326
public java.lang.String getPrefixMatch() {
@@ -331,7 +333,8 @@ public java.lang.String getPrefixMatch() {
331333
*
332334
* The value must be from 1 to 1024 characters.
333335
*
334-
* Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
336+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
337+
* specified.
335338
* @param prefixMatch prefixMatch or {@code null} for none
336339
*/
337340
public HttpRouteRuleMatch setPrefixMatch(java.lang.String prefixMatch) {
@@ -367,10 +370,10 @@ public HttpRouteRuleMatch setQueryParameterMatches(java.util.List<HttpQueryParam
367370
* expression specified inregexMatch after removing any query parameters and anchor supplied with
368371
* the original URL. For more information about regular expression syntax, see Syntax.
369372
*
370-
* Only one of prefixMatch, fullPathMatch orregexMatch must be specified.
373+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
371374
*
372375
* Regular expressions can only be used when the loadBalancingScheme is set to
373-
* INTERNAL_SELF_MANAGED.
376+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
374377
* @return value or {@code null} for none
375378
*/
376379
public java.lang.String getRegexMatch() {
@@ -382,10 +385,10 @@ public java.lang.String getRegexMatch() {
382385
* expression specified inregexMatch after removing any query parameters and anchor supplied with
383386
* the original URL. For more information about regular expression syntax, see Syntax.
384387
*
385-
* Only one of prefixMatch, fullPathMatch orregexMatch must be specified.
388+
* Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be specified.
386389
*
387390
* Regular expressions can only be used when the loadBalancingScheme is set to
388-
* INTERNAL_SELF_MANAGED.
391+
* INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
389392
* @param regexMatch regexMatch or {@code null} for none
390393
*/
391394
public HttpRouteRuleMatch setRegexMatch(java.lang.String regexMatch) {

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,57 @@
2929
@SuppressWarnings("javadoc")
3030
public final class ManagedInstancePropertiesFromFlexibilityPolicy extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* List of disks to be attached to the instance.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<AttachedDisk> disks;
38+
39+
static {
40+
// hack to force ProGuard to consider AttachedDisk used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(AttachedDisk.class);
43+
}
44+
3245
/**
3346
* The machine type to be used for this instance.
3447
* The value may be {@code null}.
3548
*/
3649
@com.google.api.client.util.Key
3750
private java.lang.String machineType;
3851

52+
/**
53+
* Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String minCpuPlatform;
58+
3959
/**
4060
* The provisioning model to be used for this instance.
4161
* The value may be {@code null}.
4262
*/
4363
@com.google.api.client.util.Key
4464
private java.lang.String provisioningModel;
4565

66+
/**
67+
* List of disks to be attached to the instance.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<AttachedDisk> getDisks() {
71+
return disks;
72+
}
73+
74+
/**
75+
* List of disks to be attached to the instance.
76+
* @param disks disks or {@code null} for none
77+
*/
78+
public ManagedInstancePropertiesFromFlexibilityPolicy setDisks(java.util.List<AttachedDisk> disks) {
79+
this.disks = disks;
80+
return this;
81+
}
82+
4683
/**
4784
* The machine type to be used for this instance.
4885
* @return value or {@code null} for none
@@ -60,6 +97,23 @@ public ManagedInstancePropertiesFromFlexibilityPolicy setMachineType(java.lang.S
6097
return this;
6198
}
6299

100+
/**
101+
* Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.String getMinCpuPlatform() {
105+
return minCpuPlatform;
106+
}
107+
108+
/**
109+
* Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.
110+
* @param minCpuPlatform minCpuPlatform or {@code null} for none
111+
*/
112+
public ManagedInstancePropertiesFromFlexibilityPolicy setMinCpuPlatform(java.lang.String minCpuPlatform) {
113+
this.minCpuPlatform = minCpuPlatform;
114+
return this;
115+
}
116+
63117
/**
64118
* The provisioning model to be used for this instance.
65119
* @return value or {@code null} for none

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

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ public final class NetworkPolicyTrafficClassificationRuleAction extends com.goog
4444
@com.google.api.client.util.Key
4545
private java.lang.Integer dscpValue;
4646

47-
/**
48-
* The field type could be one of: TRAFFIC_CLASS or DSCP.
49-
* The value may be {@code null}.
50-
*/
51-
@com.google.api.client.util.Key
52-
private java.lang.String fieldType;
53-
54-
/**
55-
* For field_type = TRAFFIC_CLASS: 1 to 6. For field_type = DSCP: 0 to 63.
56-
* The value may be {@code null}.
57-
*/
58-
@com.google.api.client.util.Key
59-
private java.lang.Integer fieldValue;
60-
6147
/**
6248
* The traffic class that should be applied to the matching packet.
6349
* The value may be {@code null}.
@@ -108,40 +94,6 @@ public NetworkPolicyTrafficClassificationRuleAction setDscpValue(java.lang.Integ
10894
return this;
10995
}
11096

111-
/**
112-
* The field type could be one of: TRAFFIC_CLASS or DSCP.
113-
* @return value or {@code null} for none
114-
*/
115-
public java.lang.String getFieldType() {
116-
return fieldType;
117-
}
118-
119-
/**
120-
* The field type could be one of: TRAFFIC_CLASS or DSCP.
121-
* @param fieldType fieldType or {@code null} for none
122-
*/
123-
public NetworkPolicyTrafficClassificationRuleAction setFieldType(java.lang.String fieldType) {
124-
this.fieldType = fieldType;
125-
return this;
126-
}
127-
128-
/**
129-
* For field_type = TRAFFIC_CLASS: 1 to 6. For field_type = DSCP: 0 to 63.
130-
* @return value or {@code null} for none
131-
*/
132-
public java.lang.Integer getFieldValue() {
133-
return fieldValue;
134-
}
135-
136-
/**
137-
* For field_type = TRAFFIC_CLASS: 1 to 6. For field_type = DSCP: 0 to 63.
138-
* @param fieldValue fieldValue or {@code null} for none
139-
*/
140-
public NetworkPolicyTrafficClassificationRuleAction setFieldValue(java.lang.Integer fieldValue) {
141-
this.fieldValue = fieldValue;
142-
return this;
143-
}
144-
14597
/**
14698
* The traffic class that should be applied to the matching packet.
14799
* @return value or {@code null} for none

0 commit comments

Comments
 (0)