StorageBucketObjectBucketObjectFromContent class final

Inline string payload. The provider marks content as Sensitive, so the value is redacted in terraform plan output but still ends up in Terraform state — prefer StorageBucketObjectBucketObjectFromSource for any non-trivial data.

Inheritance
Annotations
  • @immutable

Constructors

StorageBucketObjectBucketObjectFromContent({required TfArg<String> content})
const

Properties

blockKey String
argMap key under which this payload is emitted ('source' or 'content').
no setteroverride
content → TfArg<String>
The inline data to upload.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → TfArg<String>
The scalar value that will be written to the argMap under blockKey. Always a TfArg<String> (source is a file path, content is the inline string).
no setteroverride

Methods

encode() Map<String, Object?>
Wire-format encoding ({blockKey: value.toTfJson()}). The parent factory uses the blockKey + value pair directly in its argMap (relying on the synth layer to unwrap the TfArg); this method exists for parity with other sealed-class encoders (e.g. StorageBucketObjectBucketObjectRetention.toArgMap, AppHostingBuildSource.encode) and is exercised by the Gate 6 encode round-trip test.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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