BackupSchedule constructor

BackupSchedule(
  1. String name, {
  2. BackupScheduleArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

BackupSchedule(
  String name, {
  BackupScheduleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:firestore/v1:BackupSchedule',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  createTime = registerOutput<String>('createTime');
  dailyRecurrence = registerOutput<Map<String, dynamic>>('dailyRecurrence');
  databaseId = registerOutput<String>('databaseId');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  retention = registerOutput<String>('retention');
  updateTime = registerOutput<String>('updateTime');
  weeklyRecurrence = registerOutput<GoogleFirestoreAdminV1WeeklyRecurrenceResponse>('weeklyRecurrence', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleFirestoreAdminV1WeeklyRecurrenceResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}