@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ApiClass
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
audiences
Audience for IdTokens, applicable to all methods of the API class unless overridden by
@ApiMethod#audiences . |
AuthLevel |
authLevel
Set frontend auth level, applicable to all methods of the API unless overridden by
@ApiMethod#authLevel . |
java.lang.String[] |
clientIds
Client IDs allowed to call this method, applicable to all methods of the API class unless
overridden by
@ApiMethod#clientIds . |
java.lang.String |
resource
The name (in plural) of the resource collection.
|
java.lang.String[] |
scopes
OAuth 2 scopes, one of which is required for calling this method, applicable to all methods of
the API class unless overridden by
@ApiMethod#scopes . |
AnnotationBoolean |
useDatastoreForAdditionalConfig
AnnotationBoolean.TRUE to request that overriding configuration be loaded from the
appengine datastore. |
public abstract java.lang.String resource
public abstract AuthLevel authLevel
@ApiMethod#authLevel
.public abstract java.lang.String[] scopes
@ApiMethod#scopes
.public abstract java.lang.String[] audiences
@ApiMethod#audiences
.public abstract java.lang.String[] clientIds
@ApiMethod#clientIds
.public abstract AnnotationBoolean useDatastoreForAdditionalConfig
AnnotationBoolean.TRUE
to request that overriding configuration be loaded from the
appengine datastore.