GetAppGroupAppKeyResult constructor
- required List<
GoogleCloudApigeeV1APIProductAssociationResponse> 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 GetAppGroupAppKeyResult.
apiProducts List of API products and its status for which the credential can be used. Note: Use 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 Time the AppGroup app expires in milliseconds since epoch.
expiresInSeconds Immutable. 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 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 approved or revoked.
Implementation
const GetAppGroupAppKeyResult({
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,
});