GetDeveloperAppKeyResult constructor

const GetDeveloperAppKeyResult({
  1. required List apiProducts,
  2. required List<GoogleCloudApigeeV1AttributeResponse> attributes,
  3. required String consumerKey,
  4. required String consumerSecret,
  5. required String expiresAt,
  6. required String expiresInSeconds,
  7. required String issuedAt,
  8. required List<String> scopes,
  9. 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.

Implementation

const GetDeveloperAppKeyResult({
  required this.apiProducts,
  required this.attributes,
  required this.consumerKey,
  required this.consumerSecret,
  required this.expiresAt,
  required this.expiresInSeconds,
  required this.issuedAt,
  required this.scopes,
  required this.status,
});