GetKeyResult

data class GetKeyResult(val apiProducts: List<Any>, val attributes: List<GoogleCloudApigeeV1AttributeResponse>, val consumerKey: String, val consumerSecret: String, val expiresAt: String, val expiresInSeconds: String, val issuedAt: String, val scopes: List<String>, val status: String)

Constructors

Link copied to clipboard
fun GetKeyResult(apiProducts: List<Any>, attributes: List<GoogleCloudApigeeV1AttributeResponse>, consumerKey: String, consumerSecret: String, expiresAt: String, expiresInSeconds: String, issuedAt: String, scopes: List<String>, status: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 UpdateDeveloperAppKey API to make the association after the consumer key and secret are created.

Link copied to clipboard

List of attributes associated with the credential.

Link copied to clipboard

Consumer key.

Link copied to clipboard

Secret key.

Link copied to clipboard

Time the developer app expires in milliseconds since epoch.

Link copied to clipboard

Input only. Expiration time, in seconds, for the consumer key. If not set or left to the default value of -1, the API key never expires. The expiration time can't be updated after it is set.

Link copied to clipboard

Time the developer app was created in milliseconds since epoch.

Link copied to clipboard

Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app.

Link copied to clipboard

Status of the credential. Valid values include approved or revoked.