Resource: AppGroupAppKey
AppGroupAppKey contains all the information associated with the credentials.
JSON representation |
---|
{ "apiProducts" : [ { object ( |
Fields | |
---|---|
apiProducts[]
|
Output only. List of API products and its status for which the credential can be used. Note: Use [UpdateAppGroupAppKeyApiProductRequest][AppGroupAppKeys.UpdateAppGroupAppKeyApiProductRequest] API to make the association after the consumer key and secret are created. |
attributes[]
|
List of attributes associated with the credential. |
consumerKey
|
Immutable. Consumer key. |
consumerSecret
|
Secret key. |
expiresAt
|
Output only. Time the AppGroup app expires in milliseconds since epoch. |
issuedAt
|
Output only. Time the AppGroup 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
|
Immutable. Expiration time, in seconds, for the consumer key. If not set or left to the default value of |
APIProductAssociation
APIProductAssociation has the API product and its administrative state association.
JSON representation |
---|
{ "apiproduct" : string , "status" : string } |
Fields | |
---|---|
apiproduct
|
API product to be associated with the credential. |
status
|
The API product credential associated status. Valid values are |
Methods |
|
---|---|
|
Creates a custom consumer key and secret for a AppGroup app. |
|
Deletes an app's consumer key and removes all API products associated with the app. |
|
Gets details for a consumer key for a AppGroup app, including the key and secret value, associated API products, and other information. |
|
Adds an API product to an AppGroupAppKey, enabling the app that holds the key to access the API resources bundled in the API product. |