Resource: DeveloperAppKey
JSON representation |
---|
{
"apiProducts": array,
"attributes": [
{
object ( |
Fields | |
---|---|
apiProducts |
List of API products for which the credential can be used. Note: Do not specify the list of API products when creating a consumer key and secret for a developer app. Instead, use the |
attributes[] |
List of attributes associated with the credential. |
consumerKey |
Consumer key. |
consumerSecret |
Secret key. |
expiresAt |
Time the developer app expires in milliseconds since epoch. |
issuedAt |
Time the developer app was created in milliseconds since epoch. |
scopes[] |
Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app. |
status |
Status of the credential. Valid values include |
expiresInSeconds |
Input only. Expiration time, in seconds, for the consumer key. If not set or left to the default value of |
Methods |
|
---|---|
|
Creates a custom consumer key and secret for a developer app. |
|
Deletes an app's consumer key and removes all API products associated with the app. |
|
Gets details for a consumer key for a developer app, including the key and secret value, associated API products, and other information. |
|
Updates the scope of an app. |
|
Adds an API product to a developer app key, enabling the app that holds the key to access the API resources bundled in the API product. |