@@ -1051,7 +1051,7 @@ public Insert set(String parameterName, Object value) {
1051
1051
* This request holds the parameters needed by the css server. After setting any optional
1052
1052
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
1053
1053
*
1054
- * @param name The name of the CSS Product input. Format:
1054
+ * @param name Identifier. The name of the CSS Product input. Format:
1055
1055
* `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
1056
1056
* `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
1057
1057
* accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1083,7 +1083,7 @@ public class Patch extends CssRequest<com.google.api.services.css.v1.model.CssPr
1083
1083
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
1084
1084
* be called to initialize this instance immediately after invoking the constructor. </p>
1085
1085
*
1086
- * @param name The name of the CSS Product input. Format:
1086
+ * @param name Identifier. The name of the CSS Product input. Format:
1087
1087
* `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
1088
1088
* `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
1089
1089
* accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1156,15 +1156,15 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
1156
1156
}
1157
1157
1158
1158
/**
1159
- * The name of the CSS Product input. Format:
1159
+ * Identifier. The name of the CSS Product input. Format:
1160
1160
* `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
1161
1161
* `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
1162
1162
* accounts/123/cssProductInputs/de~DE~rawProvidedId123
1163
1163
*/
1164
1164
@ com .google .api .client .util .Key
1165
1165
private java .lang .String name ;
1166
1166
1167
- /** The name of the CSS Product input. Format:
1167
+ /** Identifier. The name of the CSS Product input. Format:
1168
1168
`accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
1169
1169
`css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
1170
1170
accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1174,7 +1174,7 @@ public java.lang.String getName() {
1174
1174
}
1175
1175
1176
1176
/**
1177
- * The name of the CSS Product input. Format:
1177
+ * Identifier. The name of the CSS Product input. Format:
1178
1178
* `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
1179
1179
* `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
1180
1180
* accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -2076,7 +2076,7 @@ public List set(String parameterName, Object value) {
2076
2076
* This request holds the parameters needed by the css server. After setting any optional
2077
2077
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
2078
2078
*
2079
- * @param name The resource name of the label. Format: accounts/{account}/labels/{label}
2079
+ * @param name Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}
2080
2080
* @param content the {@link com.google.api.services.css.v1.model.AccountLabel}
2081
2081
* @return the request
2082
2082
*/
@@ -2103,7 +2103,7 @@ public class Patch extends CssRequest<com.google.api.services.css.v1.model.Accou
2103
2103
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
2104
2104
* be called to initialize this instance immediately after invoking the constructor. </p>
2105
2105
*
2106
- * @param name The resource name of the label. Format: accounts/{account}/labels/{label}
2106
+ * @param name Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}
2107
2107
* @param content the {@link com.google.api.services.css.v1.model.AccountLabel}
2108
2108
* @since 1.13
2109
2109
*/
@@ -2172,17 +2172,21 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
2172
2172
return (Patch ) super .setUploadProtocol (uploadProtocol );
2173
2173
}
2174
2174
2175
- /** The resource name of the label. Format: accounts/{account}/labels/{label} */
2175
+ /**
2176
+ * Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}
2177
+ */
2176
2178
@ com .google .api .client .util .Key
2177
2179
private java .lang .String name ;
2178
2180
2179
- /** The resource name of the label. Format: accounts/{account}/labels/{label}
2181
+ /** Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}
2180
2182
*/
2181
2183
public java .lang .String getName () {
2182
2184
return name ;
2183
2185
}
2184
2186
2185
- /** The resource name of the label. Format: accounts/{account}/labels/{label} */
2187
+ /**
2188
+ * Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}
2189
+ */
2186
2190
public Patch setName (java .lang .String name ) {
2187
2191
if (!getSuppressPatternChecks ()) {
2188
2192
com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
@@ -2200,6 +2204,221 @@ public Patch set(String parameterName, Object value) {
2200
2204
}
2201
2205
2202
2206
}
2207
+ /**
2208
+ * An accessor for creating requests from the Quotas collection.
2209
+ *
2210
+ * <p>The typical use is:</p>
2211
+ * <pre>
2212
+ * {@code Css css = new Css(...);}
2213
+ * {@code Css.Quotas.List request = css.quotas().list(parameters ...)}
2214
+ * </pre>
2215
+ *
2216
+ * @return the resource collection
2217
+ */
2218
+ public Quotas quotas () {
2219
+ return new Quotas ();
2220
+ }
2221
+
2222
+ /**
2223
+ * The "quotas" collection of methods.
2224
+ */
2225
+ public class Quotas {
2226
+
2227
+ /**
2228
+ * Lists the daily call quota and usage per group for your CSS Center account.
2229
+ *
2230
+ * Create a request for the method "quotas.list".
2231
+ *
2232
+ * This request holds the parameters needed by the css server. After setting any optional
2233
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
2234
+ *
2235
+ * @param parent Required. The CSS account that owns the collection of method quotas and resources. In most cases,
2236
+ * this is the CSS domain. Format: accounts/{account}
2237
+ * @return the request
2238
+ */
2239
+ public List list (java .lang .String parent ) throws java .io .IOException {
2240
+ List result = new List (parent );
2241
+ initialize (result );
2242
+ return result ;
2243
+ }
2244
+
2245
+ public class List extends CssRequest <com .google .api .services .css .v1 .model .ListQuotaGroupsResponse > {
2246
+
2247
+ private static final String REST_PATH = "v1/{+parent}/quotas" ;
2248
+
2249
+ private final java .util .regex .Pattern PARENT_PATTERN =
2250
+ java .util .regex .Pattern .compile ("^accounts/[^/]+$" );
2251
+
2252
+ /**
2253
+ * Lists the daily call quota and usage per group for your CSS Center account.
2254
+ *
2255
+ * Create a request for the method "quotas.list".
2256
+ *
2257
+ * This request holds the parameters needed by the the css server. After setting any optional
2258
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. <p> {@link
2259
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
2260
+ * called to initialize this instance immediately after invoking the constructor. </p>
2261
+ *
2262
+ * @param parent Required. The CSS account that owns the collection of method quotas and resources. In most cases,
2263
+ * this is the CSS domain. Format: accounts/{account}
2264
+ * @since 1.13
2265
+ */
2266
+ protected List (java .lang .String parent ) {
2267
+ super (Css .this , "GET" , REST_PATH , null , com .google .api .services .css .v1 .model .ListQuotaGroupsResponse .class );
2268
+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
2269
+ if (!getSuppressPatternChecks ()) {
2270
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
2271
+ "Parameter parent must conform to the pattern " +
2272
+ "^accounts/[^/]+$" );
2273
+ }
2274
+ }
2275
+
2276
+ @ Override
2277
+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
2278
+ return super .executeUsingHead ();
2279
+ }
2280
+
2281
+ @ Override
2282
+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
2283
+ return super .buildHttpRequestUsingHead ();
2284
+ }
2285
+
2286
+ @ Override
2287
+ public List set$Xgafv (java .lang .String $Xgafv ) {
2288
+ return (List ) super .set$Xgafv ($Xgafv );
2289
+ }
2290
+
2291
+ @ Override
2292
+ public List setAccessToken (java .lang .String accessToken ) {
2293
+ return (List ) super .setAccessToken (accessToken );
2294
+ }
2295
+
2296
+ @ Override
2297
+ public List setAlt (java .lang .String alt ) {
2298
+ return (List ) super .setAlt (alt );
2299
+ }
2300
+
2301
+ @ Override
2302
+ public List setCallback (java .lang .String callback ) {
2303
+ return (List ) super .setCallback (callback );
2304
+ }
2305
+
2306
+ @ Override
2307
+ public List setFields (java .lang .String fields ) {
2308
+ return (List ) super .setFields (fields );
2309
+ }
2310
+
2311
+ @ Override
2312
+ public List setKey (java .lang .String key ) {
2313
+ return (List ) super .setKey (key );
2314
+ }
2315
+
2316
+ @ Override
2317
+ public List setOauthToken (java .lang .String oauthToken ) {
2318
+ return (List ) super .setOauthToken (oauthToken );
2319
+ }
2320
+
2321
+ @ Override
2322
+ public List setPrettyPrint (java .lang .Boolean prettyPrint ) {
2323
+ return (List ) super .setPrettyPrint (prettyPrint );
2324
+ }
2325
+
2326
+ @ Override
2327
+ public List setQuotaUser (java .lang .String quotaUser ) {
2328
+ return (List ) super .setQuotaUser (quotaUser );
2329
+ }
2330
+
2331
+ @ Override
2332
+ public List setUploadType (java .lang .String uploadType ) {
2333
+ return (List ) super .setUploadType (uploadType );
2334
+ }
2335
+
2336
+ @ Override
2337
+ public List setUploadProtocol (java .lang .String uploadProtocol ) {
2338
+ return (List ) super .setUploadProtocol (uploadProtocol );
2339
+ }
2340
+
2341
+ /**
2342
+ * Required. The CSS account that owns the collection of method quotas and resources. In
2343
+ * most cases, this is the CSS domain. Format: accounts/{account}
2344
+ */
2345
+ @ com .google .api .client .util .Key
2346
+ private java .lang .String parent ;
2347
+
2348
+ /** Required. The CSS account that owns the collection of method quotas and resources. In most cases,
2349
+ this is the CSS domain. Format: accounts/{account}
2350
+ */
2351
+ public java .lang .String getParent () {
2352
+ return parent ;
2353
+ }
2354
+
2355
+ /**
2356
+ * Required. The CSS account that owns the collection of method quotas and resources. In
2357
+ * most cases, this is the CSS domain. Format: accounts/{account}
2358
+ */
2359
+ public List setParent (java .lang .String parent ) {
2360
+ if (!getSuppressPatternChecks ()) {
2361
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
2362
+ "Parameter parent must conform to the pattern " +
2363
+ "^accounts/[^/]+$" );
2364
+ }
2365
+ this .parent = parent ;
2366
+ return this ;
2367
+ }
2368
+
2369
+ /**
2370
+ * Optional. The maximum number of quotas to return in the response, used for paging.
2371
+ * Defaults to 500; values above 1000 will be coerced to 1000.
2372
+ */
2373
+ @ com .google .api .client .util .Key
2374
+ private java .lang .Integer pageSize ;
2375
+
2376
+ /** Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500;
2377
+ values above 1000 will be coerced to 1000.
2378
+ */
2379
+ public java .lang .Integer getPageSize () {
2380
+ return pageSize ;
2381
+ }
2382
+
2383
+ /**
2384
+ * Optional. The maximum number of quotas to return in the response, used for paging.
2385
+ * Defaults to 500; values above 1000 will be coerced to 1000.
2386
+ */
2387
+ public List setPageSize (java .lang .Integer pageSize ) {
2388
+ this .pageSize = pageSize ;
2389
+ return this ;
2390
+ }
2391
+
2392
+ /**
2393
+ * Optional. Token (if provided) to retrieve the subsequent page. All other parameters must
2394
+ * match the original call that provided the page token.
2395
+ */
2396
+ @ com .google .api .client .util .Key
2397
+ private java .lang .String pageToken ;
2398
+
2399
+ /** Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the
2400
+ original call that provided the page token.
2401
+ */
2402
+ public java .lang .String getPageToken () {
2403
+ return pageToken ;
2404
+ }
2405
+
2406
+ /**
2407
+ * Optional. Token (if provided) to retrieve the subsequent page. All other parameters must
2408
+ * match the original call that provided the page token.
2409
+ */
2410
+ public List setPageToken (java .lang .String pageToken ) {
2411
+ this .pageToken = pageToken ;
2412
+ return this ;
2413
+ }
2414
+
2415
+ @ Override
2416
+ public List set (String parameterName , Object value ) {
2417
+ return (List ) super .set (parameterName , value );
2418
+ }
2419
+ }
2420
+
2421
+ }
2203
2422
}
2204
2423
2205
2424
/**
0 commit comments