Skip to content

Commit 071356a

Browse files
1 parent c45b09c commit 071356a

34 files changed

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

clients/google-api-services-compute/alpha/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
@@ -95,7 +95,7 @@ public final class AccessConfig extends com.google.api.client.json.GenericJson {
9595
/**
9696
* The DNS domain name for the public PTR record. You can set this field only if the
9797
* `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in
98-
* ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6
98+
* ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6
9999
* range.
100100
* The value may be {@code null}.
101101
*/
@@ -282,7 +282,7 @@ public AccessConfig setPublicDnsName(java.lang.String publicDnsName) {
282282
/**
283283
* The DNS domain name for the public PTR record. You can set this field only if the
284284
* `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in
285-
* ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6
285+
* ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6
286286
* range.
287287
* @return value or {@code null} for none
288288
*/
@@ -293,7 +293,7 @@ public java.lang.String getPublicPtrDomainName() {
293293
/**
294294
* The DNS domain name for the public PTR record. You can set this field only if the
295295
* `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in
296-
* ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6
296+
* ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6
297297
* range.
298298
* @param publicPtrDomainName publicPtrDomainName or {@code null} for none
299299
*/

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public final class HTTP2HealthCheck extends com.google.api.client.json.GenericJs
8484
private java.lang.String proxyHeader;
8585

8686
/**
87-
* The request path of the HTTP/2 health check request. The default value is /.
87+
* The request path of the HTTP/2 health check request. The default value is /. Must comply with
88+
* RFC3986.
8889
* The value may be {@code null}.
8990
*/
9091
@com.google.api.client.util.Key
@@ -231,15 +232,17 @@ public HTTP2HealthCheck setProxyHeader(java.lang.String proxyHeader) {
231232
}
232233

233234
/**
234-
* The request path of the HTTP/2 health check request. The default value is /.
235+
* The request path of the HTTP/2 health check request. The default value is /. Must comply with
236+
* RFC3986.
235237
* @return value or {@code null} for none
236238
*/
237239
public java.lang.String getRequestPath() {
238240
return requestPath;
239241
}
240242

241243
/**
242-
* The request path of the HTTP/2 health check request. The default value is /.
244+
* The request path of the HTTP/2 health check request. The default value is /. Must comply with
245+
* RFC3986.
243246
* @param requestPath requestPath or {@code null} for none
244247
*/
245248
public HTTP2HealthCheck setRequestPath(java.lang.String requestPath) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public final class HTTPHealthCheck extends com.google.api.client.json.GenericJso
8484
private java.lang.String proxyHeader;
8585

8686
/**
87-
* The request path of the HTTP health check request. The default value is /.
87+
* The request path of the HTTP health check request. The default value is /. Must comply with
88+
* RFC3986.
8889
* The value may be {@code null}.
8990
*/
9091
@com.google.api.client.util.Key
@@ -231,15 +232,17 @@ public HTTPHealthCheck setProxyHeader(java.lang.String proxyHeader) {
231232
}
232233

233234
/**
234-
* The request path of the HTTP health check request. The default value is /.
235+
* The request path of the HTTP health check request. The default value is /. Must comply with
236+
* RFC3986.
235237
* @return value or {@code null} for none
236238
*/
237239
public java.lang.String getRequestPath() {
238240
return requestPath;
239241
}
240242

241243
/**
242-
* The request path of the HTTP health check request. The default value is /.
244+
* The request path of the HTTP health check request. The default value is /. Must comply with
245+
* RFC3986.
243246
* @param requestPath requestPath or {@code null} for none
244247
*/
245248
public HTTPHealthCheck setRequestPath(java.lang.String requestPath) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public final class HTTPSHealthCheck extends com.google.api.client.json.GenericJs
8484
private java.lang.String proxyHeader;
8585

8686
/**
87-
* The request path of the HTTPS health check request. The default value is /.
87+
* The request path of the HTTPS health check request. The default value is /. Must comply with
88+
* RFC3986.
8889
* The value may be {@code null}.
8990
*/
9091
@com.google.api.client.util.Key
@@ -231,15 +232,17 @@ public HTTPSHealthCheck setProxyHeader(java.lang.String proxyHeader) {
231232
}
232233

233234
/**
234-
* The request path of the HTTPS health check request. The default value is /.
235+
* The request path of the HTTPS health check request. The default value is /. Must comply with
236+
* RFC3986.
235237
* @return value or {@code null} for none
236238
*/
237239
public java.lang.String getRequestPath() {
238240
return requestPath;
239241
}
240242

241243
/**
242-
* The request path of the HTTPS health check request. The default value is /.
244+
* The request path of the HTTPS health check request. The default value is /. Must comply with
245+
* RFC3986.
243246
* @param requestPath requestPath or {@code null} for none
244247
*/
245248
public HTTPSHealthCheck setRequestPath(java.lang.String requestPath) {

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ public final class HealthCheck extends com.google.api.client.json.GenericJson {
153153

154154
/**
155155
* The list of cloud regions from which health checks are performed. If any regions are specified,
156-
* then exactly 3 regions should be specified. The region names must be valid names of GCP
157-
* regions. This can only be set for global health check. If this list is non-empty, then there
158-
* are restrictions on what other health check fields are supported and what other resources can
159-
* use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request
160-
* field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. -
161-
* The checkIntervalSec field must be at least 30. - The health check cannot be used with
162-
* BackendService nor with managed instance group auto-healing.
156+
* then exactly 3 regions should be specified. The region names must be valid names of Google
157+
* Cloud regions. This can only be set for global health check. If this list is non-empty, then
158+
* there are restrictions on what other health check fields are supported and what other resources
159+
* can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
160+
* request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not
161+
* supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used
162+
* with BackendService nor with managed instance group auto-healing.
163163
* The value may be {@code null}.
164164
*/
165165
@com.google.api.client.util.Key
@@ -483,13 +483,13 @@ public HealthCheck setSelfLinkWithId(java.lang.String selfLinkWithId) {
483483

484484
/**
485485
* The list of cloud regions from which health checks are performed. If any regions are specified,
486-
* then exactly 3 regions should be specified. The region names must be valid names of GCP
487-
* regions. This can only be set for global health check. If this list is non-empty, then there
488-
* are restrictions on what other health check fields are supported and what other resources can
489-
* use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request
490-
* field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. -
491-
* The checkIntervalSec field must be at least 30. - The health check cannot be used with
492-
* BackendService nor with managed instance group auto-healing.
486+
* then exactly 3 regions should be specified. The region names must be valid names of Google
487+
* Cloud regions. This can only be set for global health check. If this list is non-empty, then
488+
* there are restrictions on what other health check fields are supported and what other resources
489+
* can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
490+
* request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not
491+
* supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used
492+
* with BackendService nor with managed instance group auto-healing.
493493
* @return value or {@code null} for none
494494
*/
495495
public java.util.List<java.lang.String> getSourceRegions() {
@@ -498,13 +498,13 @@ public java.util.List<java.lang.String> getSourceRegions() {
498498

499499
/**
500500
* The list of cloud regions from which health checks are performed. If any regions are specified,
501-
* then exactly 3 regions should be specified. The region names must be valid names of GCP
502-
* regions. This can only be set for global health check. If this list is non-empty, then there
503-
* are restrictions on what other health check fields are supported and what other resources can
504-
* use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request
505-
* field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. -
506-
* The checkIntervalSec field must be at least 30. - The health check cannot be used with
507-
* BackendService nor with managed instance group auto-healing.
501+
* then exactly 3 regions should be specified. The region names must be valid names of Google
502+
* Cloud regions. This can only be set for global health check. If this list is non-empty, then
503+
* there are restrictions on what other health check fields are supported and what other resources
504+
* can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
505+
* request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not
506+
* supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used
507+
* with BackendService nor with managed instance group auto-healing.
508508
* @param sourceRegions sourceRegions or {@code null} for none
509509
*/
510510
public HealthCheck setSourceRegions(java.util.List<java.lang.String> sourceRegions) {

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@ public final class Scheduling extends com.google.api.client.json.GenericJson {
191191
@com.google.api.client.util.Key
192192
private java.lang.String terminationTime;
193193

194+
/**
195+
* Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default
196+
* mode is `OFF`.
197+
* The value may be {@code null}.
198+
*/
199+
@com.google.api.client.util.Key
200+
private java.lang.String windowsLicenseOptimizationMode;
201+
194202
/**
195203
* Specifies whether the instance should be automatically restarted if it is terminated by Compute
196204
* Engine (not terminated by a user). You can only set the automatic restart option for standard
@@ -575,6 +583,25 @@ public Scheduling setTerminationTime(java.lang.String terminationTime) {
575583
return this;
576584
}
577585

586+
/**
587+
* Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default
588+
* mode is `OFF`.
589+
* @return value or {@code null} for none
590+
*/
591+
public java.lang.String getWindowsLicenseOptimizationMode() {
592+
return windowsLicenseOptimizationMode;
593+
}
594+
595+
/**
596+
* Represents the Windows Server License Optimization Mode of the VM. If unspecified, the default
597+
* mode is `OFF`.
598+
* @param windowsLicenseOptimizationMode windowsLicenseOptimizationMode or {@code null} for none
599+
*/
600+
public Scheduling setWindowsLicenseOptimizationMode(java.lang.String windowsLicenseOptimizationMode) {
601+
this.windowsLicenseOptimizationMode = windowsLicenseOptimizationMode;
602+
return this;
603+
}
604+
578605
@Override
579606
public Scheduling set(String fieldName, Object value) {
580607
return (Scheduling) super.set(fieldName, value);

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,19 @@ public final class SecurityPolicy extends com.google.api.client.json.GenericJson
199199
@com.google.api.client.util.Key
200200
private java.lang.String selfLinkWithId;
201201

202+
/**
203+
* User-provided name of the organization security policy. The name should be unique in the
204+
* organization in which the security policy is created. This should only be used when
205+
* SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with
206+
* https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and
207+
* match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
208+
* be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit,
209+
* except the last character, which cannot be a dash.
210+
* The value may be {@code null}.
211+
*/
212+
@com.google.api.client.util.Key
213+
private java.lang.String shortName;
214+
202215
/**
203216
* The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend
204217
* security policies can be configured to filter incoming HTTP requests targeting backend
@@ -702,6 +715,35 @@ public SecurityPolicy setSelfLinkWithId(java.lang.String selfLinkWithId) {
702715
return this;
703716
}
704717

718+
/**
719+
* User-provided name of the organization security policy. The name should be unique in the
720+
* organization in which the security policy is created. This should only be used when
721+
* SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with
722+
* https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and
723+
* match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
724+
* be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit,
725+
* except the last character, which cannot be a dash.
726+
* @return value or {@code null} for none
727+
*/
728+
public java.lang.String getShortName() {
729+
return shortName;
730+
}
731+
732+
/**
733+
* User-provided name of the organization security policy. The name should be unique in the
734+
* organization in which the security policy is created. This should only be used when
735+
* SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with
736+
* https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and
737+
* match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
738+
* be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit,
739+
* except the last character, which cannot be a dash.
740+
* @param shortName shortName or {@code null} for none
741+
*/
742+
public SecurityPolicy setShortName(java.lang.String shortName) {
743+
this.shortName = shortName;
744+
return this;
745+
}
746+
705747
/**
706748
* The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend
707749
* security policies can be configured to filter incoming HTTP requests targeting backend

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ public final class SecurityPolicyAssociation extends com.google.api.client.json.
4343
@com.google.api.client.util.Key
4444
private java.lang.String displayName;
4545

46+
/**
47+
* A list of folders to exclude from the security policy.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<java.lang.String> excludedFolders;
52+
53+
/**
54+
* A list of projects to exclude from the security policy.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.util.List<java.lang.String> excludedProjects;
59+
4660
/**
4761
* The name for an association.
4862
* The value may be {@code null}.
@@ -57,6 +71,13 @@ public final class SecurityPolicyAssociation extends com.google.api.client.json.
5771
@com.google.api.client.util.Key
5872
private java.lang.String securityPolicyId;
5973

74+
/**
75+
* [Output Only] The short name of the security policy of the association.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.lang.String shortName;
80+
6081
/**
6182
* The resource that the security policy is attached to.
6283
* @return value or {@code null} for none
@@ -91,6 +112,40 @@ public SecurityPolicyAssociation setDisplayName(java.lang.String displayName) {
91112
return this;
92113
}
93114

115+
/**
116+
* A list of folders to exclude from the security policy.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.util.List<java.lang.String> getExcludedFolders() {
120+
return excludedFolders;
121+
}
122+
123+
/**
124+
* A list of folders to exclude from the security policy.
125+
* @param excludedFolders excludedFolders or {@code null} for none
126+
*/
127+
public SecurityPolicyAssociation setExcludedFolders(java.util.List<java.lang.String> excludedFolders) {
128+
this.excludedFolders = excludedFolders;
129+
return this;
130+
}
131+
132+
/**
133+
* A list of projects to exclude from the security policy.
134+
* @return value or {@code null} for none
135+
*/
136+
public java.util.List<java.lang.String> getExcludedProjects() {
137+
return excludedProjects;
138+
}
139+
140+
/**
141+
* A list of projects to exclude from the security policy.
142+
* @param excludedProjects excludedProjects or {@code null} for none
143+
*/
144+
public SecurityPolicyAssociation setExcludedProjects(java.util.List<java.lang.String> excludedProjects) {
145+
this.excludedProjects = excludedProjects;
146+
return this;
147+
}
148+
94149
/**
95150
* The name for an association.
96151
* @return value or {@code null} for none
@@ -125,6 +180,23 @@ public SecurityPolicyAssociation setSecurityPolicyId(java.lang.String securityPo
125180
return this;
126181
}
127182

183+
/**
184+
* [Output Only] The short name of the security policy of the association.
185+
* @return value or {@code null} for none
186+
*/
187+
public java.lang.String getShortName() {
188+
return shortName;
189+
}
190+
191+
/**
192+
* [Output Only] The short name of the security policy of the association.
193+
* @param shortName shortName or {@code null} for none
194+
*/
195+
public SecurityPolicyAssociation setShortName(java.lang.String shortName) {
196+
this.shortName = shortName;
197+
return this;
198+
}
199+
128200
@Override
129201
public SecurityPolicyAssociation set(String fieldName, Object value) {
130202
return (SecurityPolicyAssociation) super.set(fieldName, value);

0 commit comments

Comments
 (0)