GetDeveloperAppKeyResult class

Result data returned by getDeveloperAppKey.

Constructors

GetDeveloperAppKeyResult({required List apiProducts, required List<GoogleCloudApigeeV1AttributeResponse> attributes, required String consumerKey, required String consumerSecret, required String expiresAt, required String expiresInSeconds, required String issuedAt, required List<String> scopes, required String status})
Creates a new GetDeveloperAppKeyResult. 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 UpdateDeveloperAppKey API to make the association after the consumer key and secret are created. attributes List of attributes associated with the credential. consumerKey Consumer key. consumerSecret Secret key. expiresAt Time the developer app expires in milliseconds since epoch. expiresInSeconds 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. 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 approved or revoked.
const
GetDeveloperAppKeyResult.fromMap(Map<String, dynamic> map)
factory

Properties

apiProducts → List
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.
final
attributes → List<GoogleCloudApigeeV1AttributeResponse>
List of attributes associated with the credential.
final
consumerKey → String
Consumer key.
final
consumerSecret → String
Secret key.
final
expiresAt → String
Time the developer app expires in milliseconds since epoch.
final
expiresInSeconds → String
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.
final
hashCode → int
The hash code for this object.
no setterinherited
issuedAt → String
Time the developer app was created in milliseconds since epoch.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → List<String>
Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app.
final
status → String
Status of the credential. Valid values include approved or revoked.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited