@@ -1163,6 +1163,207 @@ public Patch set(String parameterName, Object value) {
1163
1163
}
1164
1164
}
1165
1165
1166
+ }
1167
+ /**
1168
+ * An accessor for creating requests from the ImageVersions collection.
1169
+ *
1170
+ * <p>The typical use is:</p>
1171
+ * <pre>
1172
+ * {@code CloudComposer composer = new CloudComposer(...);}
1173
+ * {@code CloudComposer.ImageVersions.List request = composer.imageVersions().list(parameters ...)}
1174
+ * </pre>
1175
+ *
1176
+ * @return the resource collection
1177
+ */
1178
+ public ImageVersions imageVersions () {
1179
+ return new ImageVersions ();
1180
+ }
1181
+
1182
+ /**
1183
+ * The "imageVersions" collection of methods.
1184
+ */
1185
+ public class ImageVersions {
1186
+
1187
+ /**
1188
+ * List ImageVersions for provided location.
1189
+ *
1190
+ * Create a request for the method "imageVersions.list".
1191
+ *
1192
+ * This request holds the parameters needed by the composer server. After setting any optional
1193
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
1194
+ *
1195
+ * @param parent List ImageVersions in the given project and location, in the form:
1196
+ * "projects/{projectId}/locations/{locationId}"
1197
+ * @return the request
1198
+ */
1199
+ public List list (java .lang .String parent ) throws java .io .IOException {
1200
+ List result = new List (parent );
1201
+ initialize (result );
1202
+ return result ;
1203
+ }
1204
+
1205
+ public class List extends CloudComposerRequest <com .google .api .services .composer .v1 .model .ListImageVersionsResponse > {
1206
+
1207
+ private static final String REST_PATH = "v1/{+parent}/imageVersions" ;
1208
+
1209
+ private final java .util .regex .Pattern PARENT_PATTERN =
1210
+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+$" );
1211
+
1212
+ /**
1213
+ * List ImageVersions for provided location.
1214
+ *
1215
+ * Create a request for the method "imageVersions.list".
1216
+ *
1217
+ * This request holds the parameters needed by the the composer server. After setting any
1218
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation. <p>
1219
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
1220
+ * must be called to initialize this instance immediately after invoking the constructor. </p>
1221
+ *
1222
+ * @param parent List ImageVersions in the given project and location, in the form:
1223
+ * "projects/{projectId}/locations/{locationId}"
1224
+ * @since 1.13
1225
+ */
1226
+ protected List (java .lang .String parent ) {
1227
+ super (CloudComposer .this , "GET" , REST_PATH , null , com .google .api .services .composer .v1 .model .ListImageVersionsResponse .class );
1228
+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
1229
+ if (!getSuppressPatternChecks ()) {
1230
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
1231
+ "Parameter parent must conform to the pattern " +
1232
+ "^projects/[^/]+/locations/[^/]+$" );
1233
+ }
1234
+ }
1235
+
1236
+ @ Override
1237
+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
1238
+ return super .executeUsingHead ();
1239
+ }
1240
+
1241
+ @ Override
1242
+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
1243
+ return super .buildHttpRequestUsingHead ();
1244
+ }
1245
+
1246
+ @ Override
1247
+ public List set$Xgafv (java .lang .String $Xgafv ) {
1248
+ return (List ) super .set$Xgafv ($Xgafv );
1249
+ }
1250
+
1251
+ @ Override
1252
+ public List setAccessToken (java .lang .String accessToken ) {
1253
+ return (List ) super .setAccessToken (accessToken );
1254
+ }
1255
+
1256
+ @ Override
1257
+ public List setAlt (java .lang .String alt ) {
1258
+ return (List ) super .setAlt (alt );
1259
+ }
1260
+
1261
+ @ Override
1262
+ public List setCallback (java .lang .String callback ) {
1263
+ return (List ) super .setCallback (callback );
1264
+ }
1265
+
1266
+ @ Override
1267
+ public List setFields (java .lang .String fields ) {
1268
+ return (List ) super .setFields (fields );
1269
+ }
1270
+
1271
+ @ Override
1272
+ public List setKey (java .lang .String key ) {
1273
+ return (List ) super .setKey (key );
1274
+ }
1275
+
1276
+ @ Override
1277
+ public List setOauthToken (java .lang .String oauthToken ) {
1278
+ return (List ) super .setOauthToken (oauthToken );
1279
+ }
1280
+
1281
+ @ Override
1282
+ public List setPrettyPrint (java .lang .Boolean prettyPrint ) {
1283
+ return (List ) super .setPrettyPrint (prettyPrint );
1284
+ }
1285
+
1286
+ @ Override
1287
+ public List setQuotaUser (java .lang .String quotaUser ) {
1288
+ return (List ) super .setQuotaUser (quotaUser );
1289
+ }
1290
+
1291
+ @ Override
1292
+ public List setUploadType (java .lang .String uploadType ) {
1293
+ return (List ) super .setUploadType (uploadType );
1294
+ }
1295
+
1296
+ @ Override
1297
+ public List setUploadProtocol (java .lang .String uploadProtocol ) {
1298
+ return (List ) super .setUploadProtocol (uploadProtocol );
1299
+ }
1300
+
1301
+ /**
1302
+ * List ImageVersions in the given project and location, in the form:
1303
+ * "projects/{projectId}/locations/{locationId}"
1304
+ */
1305
+ @ com .google .api .client .util .Key
1306
+ private java .lang .String parent ;
1307
+
1308
+ /** List ImageVersions in the given project and location, in the form:
1309
+ "projects/{projectId}/locations/{locationId}"
1310
+ */
1311
+ public java .lang .String getParent () {
1312
+ return parent ;
1313
+ }
1314
+
1315
+ /**
1316
+ * List ImageVersions in the given project and location, in the form:
1317
+ * "projects/{projectId}/locations/{locationId}"
1318
+ */
1319
+ public List setParent (java .lang .String parent ) {
1320
+ if (!getSuppressPatternChecks ()) {
1321
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
1322
+ "Parameter parent must conform to the pattern " +
1323
+ "^projects/[^/]+/locations/[^/]+$" );
1324
+ }
1325
+ this .parent = parent ;
1326
+ return this ;
1327
+ }
1328
+
1329
+ /** The maximum number of image_versions to return. */
1330
+ @ com .google .api .client .util .Key
1331
+ private java .lang .Integer pageSize ;
1332
+
1333
+ /** The maximum number of image_versions to return.
1334
+ */
1335
+ public java .lang .Integer getPageSize () {
1336
+ return pageSize ;
1337
+ }
1338
+
1339
+ /** The maximum number of image_versions to return. */
1340
+ public List setPageSize (java .lang .Integer pageSize ) {
1341
+ this .pageSize = pageSize ;
1342
+ return this ;
1343
+ }
1344
+
1345
+ /** The next_page_token value returned from a previous List request, if any. */
1346
+ @ com .google .api .client .util .Key
1347
+ private java .lang .String pageToken ;
1348
+
1349
+ /** The next_page_token value returned from a previous List request, if any.
1350
+ */
1351
+ public java .lang .String getPageToken () {
1352
+ return pageToken ;
1353
+ }
1354
+
1355
+ /** The next_page_token value returned from a previous List request, if any. */
1356
+ public List setPageToken (java .lang .String pageToken ) {
1357
+ this .pageToken = pageToken ;
1358
+ return this ;
1359
+ }
1360
+
1361
+ @ Override
1362
+ public List set (String parameterName , Object value ) {
1363
+ return (List ) super .set (parameterName , value );
1364
+ }
1365
+ }
1366
+
1166
1367
}
1167
1368
/**
1168
1369
* An accessor for creating requests from the Operations collection.
0 commit comments