Objective-C clients that are generated with ServiceGenerator
from Google Cloud Endpoints include a field APIKey
in GTLService.h
:
// Some services require a developer key for quotas and limits. Setting this
// will include it on all request sent to this service via a GTLQuery class.
@property (nonatomic, copy) NSString *APIKey;
How can I obtain access to the passed value in my server code (Java plus Endpoint Annotations)?