SecretVersionState class

Input properties used for looking up and filtering SecretVersion resources.

Constructors

SecretVersionState({Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? destroyTime, Input<bool?>? enabled, Input<bool?>? isSecretDataBase64, Input<String?>? name, Input<String?>? project, Input<String?>? secret, Input<String?>? secretData, Input<String?>? secretDataWo, Input<int?>? secretDataWoVersion, Input<String?>? version})
Creates a new SecretVersionState. createTime The time at which the Secret was created. deletionPolicy The deletion policy for the secret version. Setting ABANDON allows the resource destroyTime The time at which the Secret was destroyed. Only present if state is DESTROYED. enabled The current state of the SecretVersion. isSecretDataBase64 If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. name The resource name of the SecretVersion. Format: project The ID of the project in which the resource belongs. If it is not provided, secret Secret Manager secret resource secretData The secret data. Must be no larger than 64KiB. secretDataWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. secretDataWoVersion Triggers update of secret data write-only. For more info see updating write-only arguments version The version of the Secret.
const
SecretVersionState.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String?>?
The time at which the Secret was created.
final
deletionPolicy → Input<String?>?
The deletion policy for the secret version. Setting ABANDON allows the resource to be abandoned rather than deleted. Setting DISABLE allows the resource to be disabled rather than deleted.
final
destroyTime → Input<String?>?
The time at which the Secret was destroyed. Only present if state is DESTROYED.
final
enabled → Input<bool?>?
The current state of the SecretVersion.
final
hashCode → int
The hash code for this object.
no setterinherited
isSecretDataBase64 → Input<bool?>?
If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
final
name → Input<String?>?
The resource name of the SecretVersion. Format: projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Input<String?>?
Secret Manager secret resource
final
secretData → Input<String?>?
The secret data. Must be no larger than 64KiB. Note: This property is sensitive and will not be displayed in the plan.
final
secretDataWo → Input<String?>?
NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) The secret data. Must be no larger than 64KiB. For more info see updating write-only arguments Note: This property is write-only and will not be read from the API.
final
secretDataWoVersion → Input<int?>?
Triggers update of secret data write-only. For more info see updating write-only arguments
final
version → Input<String?>?
The version of the Secret.
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