toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultSinkConfig != null) 'defaultSinkConfig': defaultSinkConfig!,
      if (disableDefaultSink != null)
        'disableDefaultSink': disableDefaultSink!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (kmsServiceAccountId != null)
        'kmsServiceAccountId': kmsServiceAccountId!,
      if (loggingServiceAccountId != null)
        'loggingServiceAccountId': loggingServiceAccountId!,
      if (name != null) 'name': name!,
      if (storageLocation != null) 'storageLocation': storageLocation!,
    };