17
17
package com .google .api .services .servicemanagement .model ;
18
18
19
19
/**
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.
28
21
*
29
22
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
30
23
* transmitted over HTTP when working with the Service Management API. For a detailed explanation
38
31
public final class UsageRule extends com .google .api .client .json .GenericJson {
39
32
40
33
/**
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.
43
38
* The value may be {@code null}.
44
39
*/
45
40
@ com .google .api .client .util .Key
@@ -63,17 +58,21 @@ public final class UsageRule extends com.google.api.client.json.GenericJson {
63
58
private java .lang .Boolean skipServiceControl ;
64
59
65
60
/**
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.
68
65
* @return value or {@code null} for none
69
66
*/
70
67
public java .lang .Boolean getAllowUnregisteredCalls () {
71
68
return allowUnregisteredCalls ;
72
69
}
73
70
74
71
/**
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.
77
76
* @param allowUnregisteredCalls allowUnregisteredCalls or {@code null} for none
78
77
*/
79
78
public UsageRule setAllowUnregisteredCalls (java .lang .Boolean allowUnregisteredCalls ) {
0 commit comments