Skip to content

Commit a1126c9

Browse files
1 parent ee2f4db commit a1126c9

17 files changed

+424
-169
lines changed

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

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

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

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/AdvancedMachineFeatures.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ public final class AdvancedMachineFeatures extends com.google.api.client.json.Ge
6262
@com.google.api.client.util.Key
6363
private java.lang.Integer threadsPerCore;
6464

65+
/**
66+
* Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using
67+
* empty string or not setting this field will use the platform-specific default turbo mode.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.String turboMode;
72+
6573
/**
6674
* The number of physical cores to expose to an instance. Multiply by the number of threads per
6775
* core to compute the total number of virtual CPUs to expose to the instance. If unset, the
@@ -144,6 +152,25 @@ public AdvancedMachineFeatures setThreadsPerCore(java.lang.Integer threadsPerCor
144152
return this;
145153
}
146154

155+
/**
156+
* Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using
157+
* empty string or not setting this field will use the platform-specific default turbo mode.
158+
* @return value or {@code null} for none
159+
*/
160+
public java.lang.String getTurboMode() {
161+
return turboMode;
162+
}
163+
164+
/**
165+
* Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using
166+
* empty string or not setting this field will use the platform-specific default turbo mode.
167+
* @param turboMode turboMode or {@code null} for none
168+
*/
169+
public AdvancedMachineFeatures setTurboMode(java.lang.String turboMode) {
170+
this.turboMode = turboMode;
171+
return this;
172+
}
173+
147174
/**
148175
* The number of physical cores to expose to an instance. Multiply by the number of threads per
149176
* core to compute the total number of virtual CPUs to expose to the instance. If unset, the
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.compute.model;
1818

1919
/**
20-
* Model definition for ManagedInstanceInstanceFlexibilityOverride.
20+
* Model definition for AllocationReservationSharingPolicy.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
@@ -27,40 +27,40 @@
2727
* @author Google, Inc.
2828
*/
2929
@SuppressWarnings("javadoc")
30-
public final class ManagedInstanceInstanceFlexibilityOverride extends com.google.api.client.json.GenericJson {
30+
public final class AllocationReservationSharingPolicy extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The machine type to be used for this instance.
33+
* Sharing config for all Google Cloud services.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
37-
private java.lang.String machineType;
37+
private java.lang.String serviceShareType;
3838

3939
/**
40-
* The machine type to be used for this instance.
40+
* Sharing config for all Google Cloud services.
4141
* @return value or {@code null} for none
4242
*/
43-
public java.lang.String getMachineType() {
44-
return machineType;
43+
public java.lang.String getServiceShareType() {
44+
return serviceShareType;
4545
}
4646

4747
/**
48-
* The machine type to be used for this instance.
49-
* @param machineType machineType or {@code null} for none
48+
* Sharing config for all Google Cloud services.
49+
* @param serviceShareType serviceShareType or {@code null} for none
5050
*/
51-
public ManagedInstanceInstanceFlexibilityOverride setMachineType(java.lang.String machineType) {
52-
this.machineType = machineType;
51+
public AllocationReservationSharingPolicy setServiceShareType(java.lang.String serviceShareType) {
52+
this.serviceShareType = serviceShareType;
5353
return this;
5454
}
5555

5656
@Override
57-
public ManagedInstanceInstanceFlexibilityOverride set(String fieldName, Object value) {
58-
return (ManagedInstanceInstanceFlexibilityOverride) super.set(fieldName, value);
57+
public AllocationReservationSharingPolicy set(String fieldName, Object value) {
58+
return (AllocationReservationSharingPolicy) super.set(fieldName, value);
5959
}
6060

6161
@Override
62-
public ManagedInstanceInstanceFlexibilityOverride clone() {
63-
return (ManagedInstanceInstanceFlexibilityOverride) super.clone();
62+
public AllocationReservationSharingPolicy clone() {
63+
return (AllocationReservationSharingPolicy) super.clone();
6464
}
6565

6666
}

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/AllocationResourceStatusSpecificSKUAllocation.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class AllocationResourceStatusSpecificSKUAllocation extends com.goo
3636
@com.google.api.client.util.Key
3737
private java.lang.String sourceInstanceTemplateId;
3838

39+
/**
40+
* Per service utilization breakdown. The Key is the Google Cloud managed service name.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.util.Map<String, java.lang.Long> utilizations;
45+
3946
/**
4047
* ID of the instance template used to populate reservation properties.
4148
* @return value or {@code null} for none
@@ -53,6 +60,23 @@ public AllocationResourceStatusSpecificSKUAllocation setSourceInstanceTemplateId
5360
return this;
5461
}
5562

63+
/**
64+
* Per service utilization breakdown. The Key is the Google Cloud managed service name.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.Map<String, java.lang.Long> getUtilizations() {
68+
return utilizations;
69+
}
70+
71+
/**
72+
* Per service utilization breakdown. The Key is the Google Cloud managed service name.
73+
* @param utilizations utilizations or {@code null} for none
74+
*/
75+
public AllocationResourceStatusSpecificSKUAllocation setUtilizations(java.util.Map<String, java.lang.Long> utilizations) {
76+
this.utilizations = utilizations;
77+
return this;
78+
}
79+
5680
@Override
5781
public AllocationResourceStatusSpecificSKUAllocation set(String fieldName, Object value) {
5882
return (AllocationResourceStatusSpecificSKUAllocation) super.set(fieldName, value);

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendService.java

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,11 @@ public final class BackendService extends com.google.api.client.json.GenericJson
274274
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
275275
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
276276
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
277-
* sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity
278-
* settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend
279-
* service is referenced by a URL map that is bound to target gRPC proxy that has
280-
* validateForProxyless field set to true.
277+
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
278+
* NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to
279+
* a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only
280+
* ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map
281+
* that is bound to target gRPC proxy that has validateForProxyless field set to true.
281282
* The value may be {@code null}.
282283
*/
283284
@com.google.api.client.util.Key
@@ -1028,10 +1029,11 @@ public BackendService setLocalityLbPolicies(java.util.List<BackendServiceLocalit
10281029
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
10291030
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
10301031
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
1031-
* sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity
1032-
* settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend
1033-
* service is referenced by a URL map that is bound to target gRPC proxy that has
1034-
* validateForProxyless field set to true.
1032+
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
1033+
* NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to
1034+
* a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only
1035+
* ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map
1036+
* that is bound to target gRPC proxy that has validateForProxyless field set to true.
10351037
* @return value or {@code null} for none
10361038
*/
10371039
public java.lang.String getLocalityLbPolicy() {
@@ -1055,10 +1057,11 @@ public java.lang.String getLocalityLbPolicy() {
10551057
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
10561058
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
10571059
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
1058-
* sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity
1059-
* settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend
1060-
* service is referenced by a URL map that is bound to target gRPC proxy that has
1061-
* validateForProxyless field set to true.
1060+
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
1061+
* NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to
1062+
* a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only
1063+
* ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map
1064+
* that is bound to target gRPC proxy that has validateForProxyless field set to true.
10621065
* @param localityLbPolicy localityLbPolicy or {@code null} for none
10631066
*/
10641067
public BackendService setLocalityLbPolicy(java.lang.String localityLbPolicy) {

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public final class InstanceGroupManager extends com.google.api.client.json.Gener
5454
* then end the base instance name with a hyphen followed by one or more hash symbols. The hash
5555
* symbols indicate the number of digits. For example, a base instance name of "vm-###" results in
5656
* "vm-001" as a VM name. @pattern
57-
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?))
57+
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
@@ -350,7 +350,7 @@ public InstanceGroupManager setAutoHealingPolicies(java.util.List<InstanceGroupM
350350
* then end the base instance name with a hyphen followed by one or more hash symbols. The hash
351351
* symbols indicate the number of digits. For example, a base instance name of "vm-###" results in
352352
* "vm-001" as a VM name. @pattern
353-
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?))
353+
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))
354354
* @return value or {@code null} for none
355355
*/
356356
public java.lang.String getBaseInstanceName() {
@@ -365,7 +365,7 @@ public java.lang.String getBaseInstanceName() {
365365
* then end the base instance name with a hyphen followed by one or more hash symbols. The hash
366366
* symbols indicate the number of digits. For example, a base instance name of "vm-###" results in
367367
* "vm-001" as a VM name. @pattern
368-
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?))
368+
* [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))
369369
* @param baseInstanceName baseInstanceName or {@code null} for none
370370
*/
371371
public InstanceGroupManager setBaseInstanceName(java.lang.String baseInstanceName) {

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceFlexibilityPolicy.java

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

32-
/**
33-
* Named instance selections configuring properties that the group will use when creating new VMs.
34-
* The value may be {@code null}.
35-
*/
36-
@com.google.api.client.util.Key
37-
private java.util.Map<String, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instanceSelectionLists;
38-
3932
/**
4033
* Named instance selections configuring properties that the group will use when creating new VMs.
4134
* The value may be {@code null}.
@@ -50,23 +43,6 @@ public final class InstanceGroupManagerInstanceFlexibilityPolicy extends com.goo
5043
@com.google.api.client.util.Key
5144
private InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix provisioningModelMix;
5245

53-
/**
54-
* Named instance selections configuring properties that the group will use when creating new VMs.
55-
* @return value or {@code null} for none
56-
*/
57-
public java.util.Map<String, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getInstanceSelectionLists() {
58-
return instanceSelectionLists;
59-
}
60-
61-
/**
62-
* Named instance selections configuring properties that the group will use when creating new VMs.
63-
* @param instanceSelectionLists instanceSelectionLists or {@code null} for none
64-
*/
65-
public InstanceGroupManagerInstanceFlexibilityPolicy setInstanceSelectionLists(java.util.Map<String, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instanceSelectionLists) {
66-
this.instanceSelectionLists = instanceSelectionLists;
67-
return this;
68-
}
69-
7046
/**
7147
* Named instance selections configuring properties that the group will use when creating new VMs.
7248
* @return value or {@code null} for none

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ManagedInstance.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ public final class ManagedInstance extends com.google.api.client.json.GenericJso
7373
@com.google.api.client.util.Key
7474
private java.lang.String instance;
7575

76-
/**
77-
* [Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy.
78-
* The value may be {@code null}.
79-
*/
80-
@com.google.api.client.util.Key
81-
private ManagedInstanceInstanceFlexibilityOverride instanceFlexibilityOverride;
82-
8376
/**
8477
* [Output Only] Health state of the instance per health-check.
8578
* The value may be {@code null}.
@@ -246,23 +239,6 @@ public ManagedInstance setInstance(java.lang.String instance) {
246239
return this;
247240
}
248241

249-
/**
250-
* [Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy.
251-
* @return value or {@code null} for none
252-
*/
253-
public ManagedInstanceInstanceFlexibilityOverride getInstanceFlexibilityOverride() {
254-
return instanceFlexibilityOverride;
255-
}
256-
257-
/**
258-
* [Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy.
259-
* @param instanceFlexibilityOverride instanceFlexibilityOverride or {@code null} for none
260-
*/
261-
public ManagedInstance setInstanceFlexibilityOverride(ManagedInstanceInstanceFlexibilityOverride instanceFlexibilityOverride) {
262-
this.instanceFlexibilityOverride = instanceFlexibilityOverride;
263-
return this;
264-
}
265-
266242
/**
267243
* [Output Only] Health state of the instance per health-check.
268244
* @return value or {@code null} for none

0 commit comments

Comments
 (0)