BatchOperationsJob constructor

BatchOperationsJob(
  1. String name, {
  2. BatchOperationsJobArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new BatchOperationsJob. name The Pulumi resource name. args Arguments used to configure this BatchOperationsJob. The set of arguments for BatchOperationsJob. options Resource options controlling this resource's behavior.

Implementation

BatchOperationsJob(
  String name, {
  BatchOperationsJobArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:storage/batchOperationsJob:BatchOperationsJob',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  bucketList = registerOutput<BatchOperationsJobBucketList?>('bucketList', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BatchOperationsJobBucketList.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  completeTime = registerOutput<String>('completeTime');
  createTime = registerOutput<String>('createTime');
  deleteObject = registerOutput<BatchOperationsJobDeleteObject?>('deleteObject', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BatchOperationsJobDeleteObject.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  deleteProtection = registerOutput<bool?>('deleteProtection');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  jobId = registerOutput<String?>('jobId');
  project = registerOutput<String>('project');
  putMetadata = registerOutput<BatchOperationsJobPutMetadata?>('putMetadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BatchOperationsJobPutMetadata.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  putObjectHold = registerOutput<BatchOperationsJobPutObjectHold?>('putObjectHold', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BatchOperationsJobPutObjectHold.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  rewriteObject = registerOutput<BatchOperationsJobRewriteObject?>('rewriteObject', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BatchOperationsJobRewriteObject.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  scheduleTime = registerOutput<String>('scheduleTime');
  state = registerOutput<String>('state');
  updateTime = registerOutput<String>('updateTime');
}