@@ -1051,7 +1051,7 @@ public Insert set(String parameterName, Object value) {
10511051 * This request holds the parameters needed by the css server. After setting any optional
10521052 * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
10531053 *
1054- * @param name The name of the CSS Product input. Format:
1054+ * @param name Identifier. The name of the CSS Product input. Format:
10551055 * `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
10561056 * `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
10571057 * accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1083,7 +1083,7 @@ public class Patch extends CssRequest<com.google.api.services.css.v1.model.CssPr
10831083 * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
10841084 * be called to initialize this instance immediately after invoking the constructor. </p>
10851085 *
1086- * @param name The name of the CSS Product input. Format:
1086+ * @param name Identifier. The name of the CSS Product input. Format:
10871087 * `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
10881088 * `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
10891089 * accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1156,15 +1156,15 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
11561156 }
11571157
11581158 /**
1159- * The name of the CSS Product input. Format:
1159+ * Identifier. The name of the CSS Product input. Format:
11601160 * `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
11611161 * `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
11621162 * accounts/123/cssProductInputs/de~DE~rawProvidedId123
11631163 */
11641164 @ com .google .api .client .util .Key
11651165 private java .lang .String name ;
11661166
1167- /** The name of the CSS Product input. Format:
1167+ /** Identifier. The name of the CSS Product input. Format:
11681168 `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
11691169 `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
11701170 accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -1174,7 +1174,7 @@ public java.lang.String getName() {
11741174 }
11751175
11761176 /**
1177- * The name of the CSS Product input. Format:
1177+ * Identifier. The name of the CSS Product input. Format:
11781178 * `accounts/{account}/cssProductInputs/{css_product_input}`, where the last section
11791179 * `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
11801180 * accounts/123/cssProductInputs/de~DE~rawProvidedId123
@@ -2076,7 +2076,7 @@ public List set(String parameterName, Object value) {
20762076 * This request holds the parameters needed by the css server. After setting any optional
20772077 * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
20782078 *
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}
20802080 * @param content the {@link com.google.api.services.css.v1.model.AccountLabel}
20812081 * @return the request
20822082 */
@@ -2103,7 +2103,7 @@ public class Patch extends CssRequest<com.google.api.services.css.v1.model.Accou
21032103 * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
21042104 * be called to initialize this instance immediately after invoking the constructor. </p>
21052105 *
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}
21072107 * @param content the {@link com.google.api.services.css.v1.model.AccountLabel}
21082108 * @since 1.13
21092109 */
@@ -2172,17 +2172,21 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
21722172 return (Patch ) super .setUploadProtocol (uploadProtocol );
21732173 }
21742174
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+ */
21762178 @ com .google .api .client .util .Key
21772179 private java .lang .String name ;
21782180
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}
21802182 */
21812183 public java .lang .String getName () {
21822184 return name ;
21832185 }
21842186
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+ */
21862190 public Patch setName (java .lang .String name ) {
21872191 if (!getSuppressPatternChecks ()) {
21882192 com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
@@ -2200,6 +2204,221 @@ public Patch set(String parameterName, Object value) {
22002204 }
22012205
22022206 }
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+ }
22032422 }
22042423
22052424 /**
0 commit comments