1717package com .google .api .services .servicemanagement .model ;
1818
1919/**
20- * Usage configuration rules for the service. NOTE: Under development. Use this rule to configure
21- * unregistered calls for the service. Unregistered calls are calls that do not contain consumer
22- * project identity. (Example: calls that do not contain an API key). By default, API methods do not
23- * allow unregistered calls, and each method call must be identified by a consumer project identity.
24- * Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow
25- * unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls:
26- * true Example of a method that wants to allow unregistered calls. usage: rules: - selector:
27- * "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
20+ * Usage configuration rules for the service.
2821 *
2922 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
3023 * transmitted over HTTP when working with the Service Management API. For a detailed explanation
3831public final class UsageRule extends com .google .api .client .json .GenericJson {
3932
4033 /**
41- * If true, the selected method allows unregistered calls, e.g. calls that don't identify any user
42- * or application.
34+ * Use this rule to configure unregistered calls for the service. Unregistered calls are calls
35+ * that do not contain consumer project identity. (Example: calls that do not contain an API key).
36+ * WARNING: By default, API methods do not allow unregistered calls, and each method call must be
37+ * identified by a consumer project identity.
4338 * The value may be {@code null}.
4439 */
4540 @ com .google .api .client .util .Key
@@ -63,17 +58,21 @@ public final class UsageRule extends com.google.api.client.json.GenericJson {
6358 private java .lang .Boolean skipServiceControl ;
6459
6560 /**
66- * If true, the selected method allows unregistered calls, e.g. calls that don't identify any user
67- * or application.
61+ * Use this rule to configure unregistered calls for the service. Unregistered calls are calls
62+ * that do not contain consumer project identity. (Example: calls that do not contain an API key).
63+ * WARNING: By default, API methods do not allow unregistered calls, and each method call must be
64+ * identified by a consumer project identity.
6865 * @return value or {@code null} for none
6966 */
7067 public java .lang .Boolean getAllowUnregisteredCalls () {
7168 return allowUnregisteredCalls ;
7269 }
7370
7471 /**
75- * If true, the selected method allows unregistered calls, e.g. calls that don't identify any user
76- * or application.
72+ * Use this rule to configure unregistered calls for the service. Unregistered calls are calls
73+ * that do not contain consumer project identity. (Example: calls that do not contain an API key).
74+ * WARNING: By default, API methods do not allow unregistered calls, and each method call must be
75+ * identified by a consumer project identity.
7776 * @param allowUnregisteredCalls allowUnregisteredCalls or {@code null} for none
7877 */
7978 public UsageRule setAllowUnregisteredCalls (java .lang .Boolean allowUnregisteredCalls ) {
0 commit comments