@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. |
java.lang.Class<? extends Authenticator>[] |
authenticators
Custom authenticators, applicable to all methods of the API class unless
overridden by
@ApiMethod#authenticators. |
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.Class<? extends PeerAuthenticator>[] |
peerAuthenticators
Custom peer authenticators, applicable to all methods of the API class unless overridden by
@ApiMethod#peerAuthenticators. |
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 java.lang.Class<? extends Authenticator>[] authenticators
@ApiMethod#authenticators.public abstract java.lang.Class<? extends PeerAuthenticator>[] peerAuthenticators
@ApiMethod#peerAuthenticators.public abstract AnnotationBoolean useDatastoreForAdditionalConfig
AnnotationBoolean.TRUE to request that overriding configuration be loaded from the
appengine datastore.