ObjectACL constructor
ObjectACL(
- String name, {
- ObjectACLArgs? args,
- CustomResourceOptions? options,
Creates a new ObjectACL.
name The Pulumi resource name.
args Arguments used to configure this ObjectACL. The set of arguments for ObjectACL.
options Resource options controlling this resource's behavior.
Implementation
ObjectACL(
String name, {
ObjectACLArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:storage/objectACL:ObjectACL',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
) {
bucket = registerOutput<String>('bucket');
deletionPolicy = registerOutput<String>('deletionPolicy');
object_ = registerOutput<String>('object');
predefinedAcl = registerOutput<String?>('predefinedAcl');
roleEntities = registerOutput<List<String>>('roleEntities', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}