Skip to content

Commit 308d374

Browse files
1 parent 5d97d16 commit 308d374

13 files changed

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

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

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,13 @@ public final class InstanceGroupManager extends com.google.api.client.json.Gener
194194
@com.google.api.client.util.Key
195195
private java.lang.String region;
196196

197+
/**
198+
* Resource policies for this managed instance group.
199+
* The value may be {@code null}.
200+
*/
201+
@com.google.api.client.util.Key
202+
private InstanceGroupManagerResourcePolicies resourcePolicies;
203+
197204
/**
198205
* [Output Only] Reserved for future use.
199206
* The value may be {@code null}.
@@ -742,6 +749,23 @@ public InstanceGroupManager setRegion(java.lang.String region) {
742749
return this;
743750
}
744751

752+
/**
753+
* Resource policies for this managed instance group.
754+
* @return value or {@code null} for none
755+
*/
756+
public InstanceGroupManagerResourcePolicies getResourcePolicies() {
757+
return resourcePolicies;
758+
}
759+
760+
/**
761+
* Resource policies for this managed instance group.
762+
* @param resourcePolicies resourcePolicies or {@code null} for none
763+
*/
764+
public InstanceGroupManager setResourcePolicies(InstanceGroupManagerResourcePolicies resourcePolicies) {
765+
this.resourcePolicies = resourcePolicies;
766+
return this;
767+
}
768+
745769
/**
746770
* [Output Only] Reserved for future use.
747771
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
* Model definition for InstanceGroupManagerResourcePolicies.
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 InstanceGroupManagerResourcePolicies extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The URL of the workload policy that is specified for this managed instance group. It can be a
34+
* full or partial URL. For example, the following are all valid URLs to a workload policy: -
35+
* https://www.googleapis.com/compute/v1/projects/project/regions/region
36+
* /resourcePolicies/resourcePolicy -
37+
* projects/project/regions/region/resourcePolicies/resourcePolicy -
38+
* regions/region/resourcePolicies/resourcePolicy
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String workloadPolicy;
43+
44+
/**
45+
* The URL of the workload policy that is specified for this managed instance group. It can be a
46+
* full or partial URL. For example, the following are all valid URLs to a workload policy: -
47+
* https://www.googleapis.com/compute/v1/projects/project/regions/region
48+
* /resourcePolicies/resourcePolicy -
49+
* projects/project/regions/region/resourcePolicies/resourcePolicy -
50+
* regions/region/resourcePolicies/resourcePolicy
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getWorkloadPolicy() {
54+
return workloadPolicy;
55+
}
56+
57+
/**
58+
* The URL of the workload policy that is specified for this managed instance group. It can be a
59+
* full or partial URL. For example, the following are all valid URLs to a workload policy: -
60+
* https://www.googleapis.com/compute/v1/projects/project/regions/region
61+
* /resourcePolicies/resourcePolicy -
62+
* projects/project/regions/region/resourcePolicies/resourcePolicy -
63+
* regions/region/resourcePolicies/resourcePolicy
64+
* @param workloadPolicy workloadPolicy or {@code null} for none
65+
*/
66+
public InstanceGroupManagerResourcePolicies setWorkloadPolicy(java.lang.String workloadPolicy) {
67+
this.workloadPolicy = workloadPolicy;
68+
return this;
69+
}
70+
71+
@Override
72+
public InstanceGroupManagerResourcePolicies set(String fieldName, Object value) {
73+
return (InstanceGroupManagerResourcePolicies) super.set(fieldName, value);
74+
}
75+
76+
@Override
77+
public InstanceGroupManagerResourcePolicies clone() {
78+
return (InstanceGroupManagerResourcePolicies) super.clone();
79+
}
80+
81+
}

0 commit comments

Comments
 (0)