ApiKeyState constructor

const ApiKeyState({
  1. Input<String?>? deletionPolicy,
  2. Input<String?>? displayName,
  3. Input<String?>? keyString,
  4. Input<String?>? name,
  5. Input<String?>? project,
  6. Input<ApiKeyRestrictions?>? restrictions,
  7. Input<String?>? serviceAccountEmail,
  8. Input<String?>? uid,
})

Creates a new ApiKeyState. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". displayName Human-readable display name of this API key. Modifiable by user. keyString Output only. An encrypted and signed value held by this key. This field can be accessed only through the GetKeyString method. name The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: a-z?. project The project for the resource restrictions Key restrictions. serviceAccountEmail The email of the service account the key is bound to. If this field is specified, the key is a service account bound key and auth enabled. See Documentation for more details. uid Output only. Unique id in UUID4 format.

Implementation

const ApiKeyState({
  this.deletionPolicy,
  this.displayName,
  this.keyString,
  this.name,
  this.project,
  this.restrictions,
  this.serviceAccountEmail,
  this.uid,
});