Skip to content

Commit 21c8e17

Browse files
chore: regenerate compute client
1 parent 4d5f830 commit 21c8e17

100 files changed

Lines changed: 21993 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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.preview.model;
18+
19+
/**
20+
* Options to control the delay, if any, between batches of projects.
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 RolloutPlanWaveOrchestrationOptionsDelay extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Controls whether the delay should only be added between batches of projects
34+
* corresponding to different locations, or also between batches of projects corresponding to the
35+
* same location.
36+
*
37+
* Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String delimiter;
42+
43+
/**
44+
* Optional. The duration of the delay, if any, to be added between batches of projects. A zero
45+
* duration corresponds to no delay.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private String duration;
50+
51+
/**
52+
* Optional. Controls whether the specified duration is to be added at the end of each batch, or
53+
* if the total processing time for each batch will be padded if needed to meet the specified
54+
* duration.
55+
*
56+
* Must be set to TYPE_UNSPECIFIED if no delay is to be added.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String type;
61+
62+
/**
63+
* Optional. Controls whether the delay should only be added between batches of projects
64+
* corresponding to different locations, or also between batches of projects corresponding to the
65+
* same location.
66+
*
67+
* Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getDelimiter() {
71+
return delimiter;
72+
}
73+
74+
/**
75+
* Optional. Controls whether the delay should only be added between batches of projects
76+
* corresponding to different locations, or also between batches of projects corresponding to the
77+
* same location.
78+
*
79+
* Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
80+
* @param delimiter delimiter or {@code null} for none
81+
*/
82+
public RolloutPlanWaveOrchestrationOptionsDelay setDelimiter(java.lang.String delimiter) {
83+
this.delimiter = delimiter;
84+
return this;
85+
}
86+
87+
/**
88+
* Optional. The duration of the delay, if any, to be added between batches of projects. A zero
89+
* duration corresponds to no delay.
90+
* @return value or {@code null} for none
91+
*/
92+
public String getDuration() {
93+
return duration;
94+
}
95+
96+
/**
97+
* Optional. The duration of the delay, if any, to be added between batches of projects. A zero
98+
* duration corresponds to no delay.
99+
* @param duration duration or {@code null} for none
100+
*/
101+
public RolloutPlanWaveOrchestrationOptionsDelay setDuration(String duration) {
102+
this.duration = duration;
103+
return this;
104+
}
105+
106+
/**
107+
* Optional. Controls whether the specified duration is to be added at the end of each batch, or
108+
* if the total processing time for each batch will be padded if needed to meet the specified
109+
* duration.
110+
*
111+
* Must be set to TYPE_UNSPECIFIED if no delay is to be added.
112+
* @return value or {@code null} for none
113+
*/
114+
public java.lang.String getType() {
115+
return type;
116+
}
117+
118+
/**
119+
* Optional. Controls whether the specified duration is to be added at the end of each batch, or
120+
* if the total processing time for each batch will be padded if needed to meet the specified
121+
* duration.
122+
*
123+
* Must be set to TYPE_UNSPECIFIED if no delay is to be added.
124+
* @param type type or {@code null} for none
125+
*/
126+
public RolloutPlanWaveOrchestrationOptionsDelay setType(java.lang.String type) {
127+
this.type = type;
128+
return this;
129+
}
130+
131+
@Override
132+
public RolloutPlanWaveOrchestrationOptionsDelay set(String fieldName, Object value) {
133+
return (RolloutPlanWaveOrchestrationOptionsDelay) super.set(fieldName, value);
134+
}
135+
136+
@Override
137+
public RolloutPlanWaveOrchestrationOptionsDelay clone() {
138+
return (RolloutPlanWaveOrchestrationOptionsDelay) super.clone();
139+
}
140+
141+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.preview.model;
18+
19+
/**
20+
* A selector which specifies what resource(s) are included in a given wave.
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 RolloutPlanWaveSelector extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Roll out to resources by Cloud locations.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private RolloutPlanWaveSelectorLocationSelector locationSelector;
38+
39+
/**
40+
* Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private RolloutPlanWaveSelectorResourceHierarchySelector resourceHierarchySelector;
45+
46+
/**
47+
* Optional. Roll out to resources by Cloud locations.
48+
* @return value or {@code null} for none
49+
*/
50+
public RolloutPlanWaveSelectorLocationSelector getLocationSelector() {
51+
return locationSelector;
52+
}
53+
54+
/**
55+
* Optional. Roll out to resources by Cloud locations.
56+
* @param locationSelector locationSelector or {@code null} for none
57+
*/
58+
public RolloutPlanWaveSelector setLocationSelector(RolloutPlanWaveSelectorLocationSelector locationSelector) {
59+
this.locationSelector = locationSelector;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
65+
* @return value or {@code null} for none
66+
*/
67+
public RolloutPlanWaveSelectorResourceHierarchySelector getResourceHierarchySelector() {
68+
return resourceHierarchySelector;
69+
}
70+
71+
/**
72+
* Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
73+
* @param resourceHierarchySelector resourceHierarchySelector or {@code null} for none
74+
*/
75+
public RolloutPlanWaveSelector setResourceHierarchySelector(RolloutPlanWaveSelectorResourceHierarchySelector resourceHierarchySelector) {
76+
this.resourceHierarchySelector = resourceHierarchySelector;
77+
return this;
78+
}
79+
80+
@Override
81+
public RolloutPlanWaveSelector set(String fieldName, Object value) {
82+
return (RolloutPlanWaveSelector) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public RolloutPlanWaveSelector clone() {
87+
return (RolloutPlanWaveSelector) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.preview.model;
18+
19+
/**
20+
* Roll out to resources by location.
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 RolloutPlanWaveSelectorLocationSelector extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Example: "us-central1-a"
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> includedLocations;
38+
39+
/**
40+
* Optional. Example: "us-central1-a"
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<java.lang.String> getIncludedLocations() {
44+
return includedLocations;
45+
}
46+
47+
/**
48+
* Optional. Example: "us-central1-a"
49+
* @param includedLocations includedLocations or {@code null} for none
50+
*/
51+
public RolloutPlanWaveSelectorLocationSelector setIncludedLocations(java.util.List<java.lang.String> includedLocations) {
52+
this.includedLocations = includedLocations;
53+
return this;
54+
}
55+
56+
@Override
57+
public RolloutPlanWaveSelectorLocationSelector set(String fieldName, Object value) {
58+
return (RolloutPlanWaveSelectorLocationSelector) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public RolloutPlanWaveSelectorLocationSelector clone() {
63+
return (RolloutPlanWaveSelectorLocationSelector) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)