Skip to content

Commit 93f9f76

Browse files
1 parent abff890 commit 93f9f76

33 files changed

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

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

Lines changed: 964 additions & 0 deletions
Large diffs are not rendered by default.

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
@@ -103,7 +103,7 @@ public final class AccessConfig extends com.google.api.client.json.GenericJson {
103103
private java.lang.String publicPtrDomainName;
104104

105105
/**
106-
* [Output Only] The resource URL for the security policy associated with this access config.
106+
* The resource URL for the security policy associated with this access config.
107107
* The value may be {@code null}.
108108
*/
109109
@com.google.api.client.util.Key
@@ -303,15 +303,15 @@ public AccessConfig setPublicPtrDomainName(java.lang.String publicPtrDomainName)
303303
}
304304

305305
/**
306-
* [Output Only] The resource URL for the security policy associated with this access config.
306+
* The resource URL for the security policy associated with this access config.
307307
* @return value or {@code null} for none
308308
*/
309309
public java.lang.String getSecurityPolicy() {
310310
return securityPolicy;
311311
}
312312

313313
/**
314-
* [Output Only] The resource URL for the security policy associated with this access config.
314+
* The resource URL for the security policy associated with this access config.
315315
* @param securityPolicy securityPolicy or {@code null} for none
316316
*/
317317
public AccessConfig setSecurityPolicy(java.lang.String securityPolicy) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ public final class AttachedDiskInitializeParams extends com.google.api.client.js
229229
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
230230
* create a disk with a snapshot that you created, specify the snapshot name in the following
231231
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
232-
* be set.
232+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
233+
* instead when you create VMs using the bulk insert method.
233234
* The value may be {@code null}.
234235
*/
235236
@com.google.api.client.util.Key
@@ -702,7 +703,8 @@ public AttachedDiskInitializeParams setSourceInstantSnapshot(java.lang.String so
702703
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
703704
* create a disk with a snapshot that you created, specify the snapshot name in the following
704705
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
705-
* be set.
706+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
707+
* instead when you create VMs using the bulk insert method.
706708
* @return value or {@code null} for none
707709
*/
708710
public java.lang.String getSourceSnapshot() {
@@ -714,7 +716,8 @@ public java.lang.String getSourceSnapshot() {
714716
* initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To
715717
* create a disk with a snapshot that you created, specify the snapshot name in the following
716718
* format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not
717-
* be set.
719+
* be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image
720+
* instead when you create VMs using the bulk insert method.
718721
* @param sourceSnapshot sourceSnapshot or {@code null} for none
719722
*/
720723
public AttachedDiskInitializeParams setSourceSnapshot(java.lang.String sourceSnapshot) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* A request to recommend the best way to consume the specified resources in the future.
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 CalendarModeAdviceRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Specification of resources to create in the future. The key of the map is an arbitrary string
34+
* specified by the caller. Value of the map is a specification of required resources and their
35+
* constraints. Currently only one value is allowed in this map.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, FutureResourcesSpec> futureResourcesSpecs;
40+
41+
/**
42+
* Specification of resources to create in the future. The key of the map is an arbitrary string
43+
* specified by the caller. Value of the map is a specification of required resources and their
44+
* constraints. Currently only one value is allowed in this map.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.util.Map<String, FutureResourcesSpec> getFutureResourcesSpecs() {
48+
return futureResourcesSpecs;
49+
}
50+
51+
/**
52+
* Specification of resources to create in the future. The key of the map is an arbitrary string
53+
* specified by the caller. Value of the map is a specification of required resources and their
54+
* constraints. Currently only one value is allowed in this map.
55+
* @param futureResourcesSpecs futureResourcesSpecs or {@code null} for none
56+
*/
57+
public CalendarModeAdviceRequest setFutureResourcesSpecs(java.util.Map<String, FutureResourcesSpec> futureResourcesSpecs) {
58+
this.futureResourcesSpecs = futureResourcesSpecs;
59+
return this;
60+
}
61+
62+
@Override
63+
public CalendarModeAdviceRequest set(String fieldName, Object value) {
64+
return (CalendarModeAdviceRequest) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public CalendarModeAdviceRequest clone() {
69+
return (CalendarModeAdviceRequest) super.clone();
70+
}
71+
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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+
* A response containing the recommended way of creating the specified resources in the future. It
21+
* contains (will contain) multiple recommendations that can be analyzed by the customer and the
22+
* best one can be picked.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class CalendarModeAdviceResponse extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Recommendations where, how and when to create the requested resources in order to maximize
36+
* their obtainability and minimize cost.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.List<CalendarModeRecommendation> recommendations;
41+
42+
/**
43+
* Recommendations where, how and when to create the requested resources in order to maximize
44+
* their obtainability and minimize cost.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.util.List<CalendarModeRecommendation> getRecommendations() {
48+
return recommendations;
49+
}
50+
51+
/**
52+
* Recommendations where, how and when to create the requested resources in order to maximize
53+
* their obtainability and minimize cost.
54+
* @param recommendations recommendations or {@code null} for none
55+
*/
56+
public CalendarModeAdviceResponse setRecommendations(java.util.List<CalendarModeRecommendation> recommendations) {
57+
this.recommendations = recommendations;
58+
return this;
59+
}
60+
61+
@Override
62+
public CalendarModeAdviceResponse set(String fieldName, Object value) {
63+
return (CalendarModeAdviceResponse) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public CalendarModeAdviceResponse clone() {
68+
return (CalendarModeAdviceResponse) super.clone();
69+
}
70+
71+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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+
* A single recommendation to create requested resources. Contains detailed recommendations for
21+
* every future resources specification specified in CalendarModeAdviceRequest.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CalendarModeRecommendation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Recommendations for every future resource specification passed in CalendarModeAdviceRequest.
35+
* Keys of the map correspond to keys specified in the request.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, FutureResourcesRecommendation> recommendationsPerSpec;
40+
41+
/**
42+
* Recommendations for every future resource specification passed in CalendarModeAdviceRequest.
43+
* Keys of the map correspond to keys specified in the request.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.util.Map<String, FutureResourcesRecommendation> getRecommendationsPerSpec() {
47+
return recommendationsPerSpec;
48+
}
49+
50+
/**
51+
* Recommendations for every future resource specification passed in CalendarModeAdviceRequest.
52+
* Keys of the map correspond to keys specified in the request.
53+
* @param recommendationsPerSpec recommendationsPerSpec or {@code null} for none
54+
*/
55+
public CalendarModeRecommendation setRecommendationsPerSpec(java.util.Map<String, FutureResourcesRecommendation> recommendationsPerSpec) {
56+
this.recommendationsPerSpec = recommendationsPerSpec;
57+
return this;
58+
}
59+
60+
@Override
61+
public CalendarModeRecommendation set(String fieldName, Object value) {
62+
return (CalendarModeRecommendation) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public CalendarModeRecommendation clone() {
67+
return (CalendarModeRecommendation) super.clone();
68+
}
69+
70+
}

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ public final class ErrorInfo extends com.google.api.client.json.GenericJson {
4747
private java.lang.String domain;
4848

4949
/**
50-
* Additional structured details about this error. Keys must match /a-z+/ but should ideally be
51-
* lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the
52-
* current value of an exceeded limit, the units should be contained in the key, not the value.
53-
* For example, rather than {"instanceLimit": "100/request"}, should be returned as,
54-
* {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be
55-
* created in a single (batch) request.
50+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
51+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
52+
* When identifying the current value of an exceeded limit, the units should be contained in the
53+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
54+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
55+
* instances that can be created in a single (batch) request.
5656
* The value may be {@code null}.
5757
*/
5858
@com.google.api.client.util.Key
@@ -93,25 +93,25 @@ public ErrorInfo setDomain(java.lang.String domain) {
9393
}
9494

9595
/**
96-
* Additional structured details about this error. Keys must match /a-z+/ but should ideally be
97-
* lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the
98-
* current value of an exceeded limit, the units should be contained in the key, not the value.
99-
* For example, rather than {"instanceLimit": "100/request"}, should be returned as,
100-
* {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be
101-
* created in a single (batch) request.
96+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
97+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
98+
* When identifying the current value of an exceeded limit, the units should be contained in the
99+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
100+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
101+
* instances that can be created in a single (batch) request.
102102
* @return value or {@code null} for none
103103
*/
104104
public java.util.Map<String, java.lang.String> getMetadatas() {
105105
return metadatas;
106106
}
107107

108108
/**
109-
* Additional structured details about this error. Keys must match /a-z+/ but should ideally be
110-
* lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the
111-
* current value of an exceeded limit, the units should be contained in the key, not the value.
112-
* For example, rather than {"instanceLimit": "100/request"}, should be returned as,
113-
* {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be
114-
* created in a single (batch) request.
109+
* Additional structured details about this error. Keys must match a regular expression of `a-z+`
110+
* but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length.
111+
* When identifying the current value of an exceeded limit, the units should be contained in the
112+
* key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be
113+
* returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
114+
* instances that can be created in a single (batch) request.
115115
* @param metadatas metadatas or {@code null} for none
116116
*/
117117
public ErrorInfo setMetadatas(java.util.Map<String, java.lang.String> metadatas) {

0 commit comments

Comments
 (0)