ObjectACL constructor

ObjectACL(
  1. String name, {
  2. ObjectACLArgs? args,
  3. 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>(); });
}